[CDRIVER-598] Read preference tags are not validated during URI parsing Created: 30/Mar/15  Updated: 19/Oct/16  Resolved: 13/Oct/16

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 1.5.0

Type: Bug Priority: Minor - P4
Reporter: Jeremy Mikola Assignee: Backlog - C Driver Team
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to CDRIVER-608 Read preference should be validated b... Closed

 Description   

From this comment on the CDRIVER-590 PR:

While testing this, I realized that readPreferenceTags aren't really validated, either. For instance, readPreferenceTags=foo doesn't raise any errors. I haven't looked into what BSON that generates, but that's probably worth fixing in a subsequent ticket (either against 1.1.x or 1.2.x).



 Comments   
Comment by Githook User [ 13/Oct/16 ]

Author:

{u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}

Message: CDRIVER-598 check URI for bad readPreferenceTags
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/5bae13e956f8a4efecf0a6500dce63b7bc957ab1

Generated at Wed Feb 07 21:10:00 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.