We are turning on --enableJavaScriptProtection in the mongo shell by default and introduced a new flag, --disableJavaScriptProtection, to keep the old behavior.
Need to document the behavior of the "--enableJavaScriptProtection" flag in the shell (which has been backported to 3.2). This flag prevents "Code" and "CodeWScope" BSON types from being automatically marshalled to JavaScript functions in the shell.
- depends on
-
SERVER-23472 Enable JavaScript protection by default
- Closed
- related to
-
DOCS-7207 Document new JavaScript protection shell parameter
- Closed