[SERVER-9131] Ensure documents with code elements do not conflict with internal JS functions Created: 25/Mar/13 Updated: 03/Apr/19 Resolved: 19/Feb/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | JavaScript, Security |
| Affects Version/s: | 2.4.1 |
| Fix Version/s: | 3.2.4, 3.3.2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Ben Becker | Assignee: | Rahul Dhodapkar |
| Resolution: | Done | Votes: | 0 |
| Labels: | code-and-test | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||||||
| Backwards Compatibility: | Minor Change | ||||||||||||||||||||||||||||||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||||||||||||||||||||||||||||||
| Backport Completed: | |||||||||||||||||||||||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||||||||||||||||||||||
| Description |
|
When a document is returned to the shell, handle the case where stored function names conflict with prototype function names. |
| Comments |
| Comment by Githook User [ 24/Feb/16 ] |
|
Author: {u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}Message: (cherry picked from commit 808fc26a78c1c0132019768a24c1060f56e4b7f2) |
| Comment by Githook User [ 24/Feb/16 ] |
|
Author: {u'username': u'rahuldhodapkar', u'name': u'rahuldhodapkar', u'email': u'rahul.m.dhodapkar@gmail.com'}Message: add shell flag --enableJavaScriptProtection and server setParameter javascriptProtection (cherry picked from commit 054d07ae6bcbc4eb408c1d7ba070b4dccdaa9cd3) |
| Comment by Githook User [ 18/Feb/16 ] |
|
Author: {u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}Message: |
| Comment by Githook User [ 17/Feb/16 ] |
|
Author: {u'username': u'rahuldhodapkar', u'name': u'rahuldhodapkar', u'email': u'rahul.m.dhodapkar@gmail.com'}Message: add shell flag --enableJavaScriptProtection and server setParameter javascriptProtection |