[CDRIVER-2021] UTF-8 Hostnames in connection URI should be allowed Created: 03/Feb/17  Updated: 03/May/17  Resolved: 17/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-host_identifiers.json b/tests/json/connection_uri/valid-host_identifiers.json
index 1424dd5..a061a6e 100644
--- a/tests/json/connection_uri/valid-host_identifiers.json
+++ b/tests/json/connection_uri/valid-host_identifiers.json
@@ -129,26 +129,6 @@
       ],
       "auth": null,
       "options": null
-    },
-    {
-      "description": "UTF-8 hosts",
-      "uri": "mongodb://bücher.example.com,umläut.example.com/",
-      "valid": true,
-      "warning": false,
-      "hosts": [
-        {
-          "type": "hostname",
-          "host": "bücher.example.com",
-          "port": null
-        },
-        {
-          "type": "hostname",
-          "host": "umläut.example.com",
-          "port": null
-        }
-      ],
-      "auth": null,
-      "options": null
     }
   ]
-}
\ No newline at end of file
+}



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

Author:

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

Message: CDRIVER-2021 UTF-8 Hostnames in connection URI should be allowed

Rather then aborting on UTF-8 chars, we leave them intact.
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/069bc621668c08e1709425da6945c879c83ab4b1

Comment by Githook User [ 07/Feb/17 ]

Author:

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

Message: CDRIVER-2021 Enable the testcase again

This reverts commit b4cda6962cd90485b4232564ee3441433e7fe635.
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/2375decd816fd754aa688eb5047962bf2805226e

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-2021 UTF-8 Hostnames in connection URI should be allowed
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/b4cda6962cd90485b4232564ee3441433e7fe635

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