-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Fully Compatible
-
ALL
-
Platforms 2017-06-19
It appears that we are not correctly converting code w/scope BSON types into strings - noticed this when calling explain on a query using $where
"$where" : { "code" : "*\u0000\u0000\u0000function () { sleep(1000); return true; }\u0000\u0005\u0000\u0000\u0000\u0000\u0000\u0000\u0000", "scope" : { } }
- duplicates
-
SERVER-27954 Viewing a code_w_s object in the shell produces malformed output
- Closed