[CDRIVER-2335] Syntax errors in TXT records only warn, they should error Created: 27/Oct/17  Updated: 28/Oct/23  Resolved: 02/Dec/17

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

Type: Bug Priority: Major - P3
Reporter: A. Jesse Jiryu Davis Assignee: A. Jesse Jiryu Davis
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to CDRIVER-2257 Initial DNS Seedlist discovery Closed

 Description   

Initial DNS Seedlist Discovery Spec:

If any connection string option in a TXT record is incorrectly formatted, a Client must throw a parse exception.

In our first implementation in 1.9.0, an incorrectly formatted option only results in a warning; it should be an error. Distinguishing between fatal errors and warnings in mongoc_uri_parse_options requires more work than we have time for in this release.

Copy txt-record-wrong-value-type.json from the specs repo to test.



 Comments   
Comment by A. Jesse Jiryu Davis [ 02/Dec/17 ]

Fixed as part of the update to CDRIVER-2257 for a more securely specified feature.

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