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

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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Minor - P4 Minor - P4
    • Server_Docs_20231030
    • None
    • manual
    • None

    Description

      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).

      Attachments

        Activity

          People

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

            Dates

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