Skip to content

DOCS-7589: Enable JavaScript Protection by default #2766

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from

Conversation

steveren
Copy link
Contributor

@steveren steveren commented Nov 14, 2016

This change is Reviewable

Allows documents containing fields of type
:ref:`javascript<bson-types>` and
:ref:`javascriptWithScope<bson-types>` to be automatically
marshalled to JavaScript functions in the :program:`mongo`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we marshalling the whole documents to JavaScript functions? Because that's what this sentence states.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, it's only the fields of type javascript and javascriptWScope which are marshalled to the shell. I've pushed a new version of this branch with updated wording.

@kay-kim
Copy link
Contributor

kay-kim commented Nov 17, 2016

merged!

@kay-kim kay-kim closed this Nov 17, 2016
mongo-cr-bot pushed a commit that referenced this pull request Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants