[SERVER-30467] Extend $_internalSchemaMinLength and $_internalSchemaMaxLength to count lengths of Unicode strings Created: 01/Aug/17 Updated: 30/Oct/23 Resolved: 18/Aug/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | None |
| Fix Version/s: | 3.5.12 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Kyle Suarez | Assignee: | Justin Seyster |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Sprint: | Query 2017-08-21, Query 2017-09-11 | ||||||||
| Participants: | |||||||||
| Description |
|
$_internalSchemaMinLength and $_internalSchemaMaxLength must be updated to properly count the lengths of Unicode strings, which may contain multibyte characters. |
| Comments |
| Comment by Githook User [ 18/Aug/17 ] |
|
Author: {'username': 'jseyster', 'email': 'justin.seyster@mongodb.com', 'name': 'Justin Seyster'}Message: Length counts UTF-8 code points. |