[GODRIVER-1513] Extended JSON parsing allow escaping invalid characters Created: 03/Mar/20  Updated: 28/Oct/23  Resolved: 23/Mar/20

Status: Closed
Project: Go Driver
Component/s: JSON & ExtJSON
Affects Version/s: 1.3.0
Fix Version/s: 1.3.2

Type: Bug Priority: Major - P3
Reporter: David Golden Assignee: Divjot Arora (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

The driver parses this input successfully, but single-quote is not legal character to escape in the JSON specification:

{"\'":""}



 Comments   
Comment by Githook User [ 23/Mar/20 ]

Author:

{'name': 'Divjot Arora', 'username': 'divjotarora', 'email': 'divjot.arora@10gen.com'}

Message: GODRIVER-1513 Disallow escaped single quotes in extjson keys (#342)
Branch: release/1.3
https://github.com/mongodb/mongo-go-driver/commit/c0be47312a30ac246742ca8a37145ab81165d5ac

Comment by Githook User [ 23/Mar/20 ]

Author:

{'name': 'Divjot Arora', 'username': 'divjotarora', 'email': 'divjot.arora@10gen.com'}

Message: GODRIVER-1513 Disallow escaped single quotes in extjson keys (#342)
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/ca6eb32c949e69fbafa08a11db85e53ad9016ae4

Comment by Divjot Arora (Inactive) [ 20/Mar/20 ]

https://github.com/mongodb/mongo-go-driver/pull/342

Generated at Thu Feb 08 08:36:33 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.