[JAVA-694] Mongo URI parsing should throw IllegalArgumentException if it detects a ? without a trailing slash. Created: 13/Nov/12  Updated: 26/Nov/12  Resolved: 16/Nov/12

Status: Closed
Project: Java Driver
Component/s: API
Affects Version/s: 2.9.0
Fix Version/s: 2.10.0

Type: Improvement Priority: Major - P3
Reporter: Jeffrey Yemin Assignee: Jeffrey Yemin
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Currently it will just treat the whole thing as the server name, e.g. "localhost?w=2"



 Comments   
Comment by auto [ 15/Nov/12 ]

Author:

{u'date': u'2012-11-13T22:34:04Z', u'email': u'jeff.yemin@10gen.com', u'name': u'Jeff Yemin'}

Message: JAVA-694: throw exception if ? in URI without a trailing slash
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/b4eb41b1ad741ccf56a43edfaa50aa88da725b0b

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