[SERVER-25030] end-of-string anchor matches null character in regex Created: 13/Jul/16 Updated: 14/Jul/16 Resolved: 13/Jul/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | 2.6.10 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Martijn Otto | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Operating System: | ALL | ||||||||
| Steps To Reproduce: | db.test.insert( { _id : 'test\0' }); ); |
||||||||
| Participants: | |||||||||
| Description |
|
The end-of-string anchor ($) matches a null character where it shouldn't. |
| Comments |
| Comment by Ramon Fernandez Marina [ 13/Jul/16 ] |
|
Thanks for your reporter martijntje, this bug has already been fixed in The fix is only present in the development release 3.3.2 and newer. A backport to the 3.2 branch is being evaluated. Feel free to watch Regards, |