[CDRIVER-2023] Unescaped percent sign in connection uri should fail Created: 03/Feb/17  Updated: 03/May/17  Resolved: 24/Feb/17

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

Type: Task Priority: Major - P3
Reporter: Hannes Magnusson Assignee: Hannes Magnusson
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: C Driver Connection String Spec

 Description   

diff --git a/tests/json/connection_uri/invalid-uris.json b/tests/json/connection_uri/invalid-uris.json
index 15bef75..88b1f8b 100644
--- a/tests/json/connection_uri/invalid-uris.json
+++ b/tests/json/connection_uri/invalid-uris.json
@@ -172,15 +172,6 @@
       "options": null
     },
     {
-      "description": "Username with password containing an unescaped percent sign",
-      "uri": "mongodb://alice%foo:bar@127.0.0.1",
-      "valid": false,
-      "warning": null,
-      "hosts": null,
-      "auth": null,
-      "options": null
-    },
-    {
       "description": "Username with password containing an unescaped colon",
       "uri": "mongodb://alice:foo:bar@127.0.0.1",
       "valid": false,



 Comments   
Comment by Githook User [ 24/Feb/17 ]

Author:

{u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}

Message: CDRIVER-2023 Unescaped percent sign in connection uri should fail
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/1b42409f344c3a90c3b0857bfd95fe21e3cd0c6c

Comment by Githook User [ 24/Feb/17 ]

Author:

{u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}

Message: Revert "CDRIVER-2023 - Unescaped percent sign in connection uri should fail"

This reverts commit 1f7634d885aa096a15c5a4db9e3fb812bf99d059.
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/35c22ed5ddd76f1477fd8ceaef940b2d993293ae

Comment by Githook User [ 06/Feb/17 ]

Author:

{u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}

Message: Merge branch 'CDRIVER-784-connection-uri-spec'

Comment by Githook User [ 06/Feb/17 ]

Author:

{u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}

Message: CDRIVER-2023 - Unescaped percent sign in connection uri should fail
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/1f7634d885aa096a15c5a4db9e3fb812bf99d059

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