Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-9266

Unix domain socket paths must be URL-encoded in connection URIs

    • Type: Icon: Task Task
    • Resolution: Duplicate
    • Priority: Icon: Minor - P4 Minor - P4
    • Server_Docs_20231030
    • Affects Version/s: None
    • Component/s: manual
    • Labels:
      None

      The example for UNIX Domain Socket in the connection string docs does not mention that socket paths should be URL-encoded (see: connection string spec).

      By this point, all drivers that support sockets should handle URL decoding, but it wouldn't hurt to confirm. If anything, it's more likely for non-encoded paths to cause problems (see: PHPLIB-174).

            Assignee:
            allison.moore@mongodb.com Allison Reinheimer Moore
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              7 years, 27 weeks ago