[CDRIVER-2024] Escaped username maybe not properly parsed 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/valid-auth.json b/tests/json/connection_uri/valid-auth.json
index 36a7be3..95e091e 100644
--- a/tests/json/connection_uri/valid-auth.json
+++ b/tests/json/connection_uri/valid-auth.json
@@ -262,31 +262,6 @@
       }
     },
     {
-      "description": "Escaped username (GSSAPI)",
-      "uri": "mongodb://user%40EXAMPLE.COM:secret@localhost/?authMechanismProperties=SERVICE_NAME:other,CANONICALIZE_HOST_NAME:true&authMechanism=GSSA
-      "valid": true,
-      "warning": false,
-      "hosts": [
-        {
-          "type": "hostname",
-          "host": "localhost",
-          "port": null
-        }
-      ],
-      "auth": {
-        "username": "user@EXAMPLE.COM",
-        "password": "secret",
-        "db": null
-      },
-      "options": {
-        "authmechanism": "GSSAPI",
-        "authmechanismproperties": {
-          "SERVICE_NAME": "other",
-          "CANONICALIZE_HOST_NAME": true
-        }
-      }
-    },
-    {
       "description": "At-signs in options aren't part of the userinfo",
       "uri": "mongodb://alice:secret@example.com/admin?replicaset=my@replicaset",
       "valid": true,



 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: Revert "CDRIVER-2024 - Escaped username maybe not properly parsed"

This reverts commit c80acaf6e397fa359d2c51962fc4d993992dce47.
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/63764775a3f4a359dd25512eeb88ae8ea4286245

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-2024 - Escaped username maybe not properly parsed
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/c80acaf6e397fa359d2c51962fc4d993992dce47

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