[SERVER-23984] Improve locale string validation in CollatorFactoryICU Created: 29/Apr/16  Updated: 06/Jun/16  Resolved: 20/May/16

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: 3.3.8

Type: Task Priority: Major - P3
Reporter: J Rassi Assignee: David Storch
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Query 15 (06/03/16)
Participants:

 Description   

Example locale strings that should return a parse error:

  • "en_US@invalid=phonebook"
  • "en_US@calendar=invalid"
  • "en_blah"


 Comments   
Comment by Githook User [ 20/May/16 ]

Author:

{u'username': u'dstorch', u'name': u'David Storch', u'email': u'david.storch@10gen.com'}

Message: SERVER-23984 add strict collation locale string validation

All components of the locale string must now be recognized
by ICU and must be specified in a canonical format.
Branch: master
https://github.com/mongodb/mongo/commit/cebf4c171154442c880144e2e24041960d6cc1f1

Generated at Thu Feb 08 04:05:02 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.