[SERVER-10313] Fail if javascript field names have nulls Created: 24/Jul/13  Updated: 11/Jul/16  Resolved: 24/Jul/13

Status: Closed
Project: Core Server
Component/s: JavaScript, Shell
Affects Version/s: 2.4.5
Fix Version/s: 2.4.6, 2.5.2

Type: Bug Priority: Critical - P2
Reporter: Scott Hernandez (Inactive) Assignee: Scott Hernandez (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
Operating System: ALL
Participants:

 Description   

Check the field names in converting to bson that there is no embedded null. This should be simple for javascript strings since they have a length.



 Comments   
Comment by auto [ 02/Aug/13 ]

Author:

{u'username': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}

Message: SERVER-10313: uassert number conflict fix
Branch: v2.4
https://github.com/mongodb/mongo/commit/50dace31f840b8c0261420db9ce53480f36ef83d

Comment by auto [ 02/Aug/13 ]

Author:

{u'username': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}

Message: SERVER-10313: uassert if null char in js field names
Branch: v2.4
https://github.com/mongodb/mongo/commit/0156435f4a49b665120ffaeed772fd871094ec93

Comment by auto [ 24/Jul/13 ]

Author:

{u'username': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}

Message: SERVER-10313: uassert number conflict fix
Branch: master
https://github.com/mongodb/mongo/commit/127ebecce02c06939d76dfaee5a4a7fb11535448

Comment by auto [ 24/Jul/13 ]

Author:

{u'username': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}

Message: SERVER-10313: uassert if null char in js field names
Branch: master
https://github.com/mongodb/mongo/commit/3ef5807b169f033b1e2d4db1a0d8e2f46a7c1d13

Generated at Thu Feb 08 03:22:50 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.