-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Storage Execution
-
Fully Compatible
-
v8.0, v7.0, v6.0, v5.0
-
Execution Team 2024-11-11, Execution Team 2024-11-25, Execution Team 2024-12-09
-
200
See this line. There are two main issues:
1) The BSON format requires that the pattern and options in a regex do not have embedded NUL bytes, but this test doesn't filter them out.
2) options is passed as the second argument to appendRegex(fieldName, pattern, options = "") so it isn't doing what it claims to.
- is related to
-
SERVER-95279 BSONObjBuilder should prevent appending field names containing NULs
- Closed