Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-5580

Disallow comma character in authMechanismProperties connection string value

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.0.0
    • Affects Version/s: None
    • Component/s: Authentication
    • None
    • Needed
    • Hide

      CDRIVER#1950 and its predecessors (CDRIVER#1941, CDRIVER#1914, and CDRIVER#1896) implement the Authentication spec's recommendation to diagnose invalid authentication credential values as an error as early as possible, overriding the Connection String spec's usual behavior of warning and ignoring invalid keys or values.

      The stricter validation and error handling for URI credential fields is summarized by this news entry and the updated mongoc_uri_t documentation (in particular concerning mechanism properties).

      The GSSAPI-related URI options MONGOC_URI_CANONICALIZEHOSTNAME and MONGOC_URI_GSSAPISERVICENAME are also deprecated in favor of equivalent authentication mechanism properties instead.

      Show
      CDRIVER#1950 and its predecessors ( CDRIVER#1941 , CDRIVER#1914 , and CDRIVER#1896 ) implement the Authentication spec's recommendation to diagnose invalid authentication credential values as an error as early as possible, overriding the Connection String spec's usual behavior of warning and ignoring invalid keys or values. The stricter validation and error handling for URI credential fields is summarized by this news entry and the updated mongoc_uri_t documentation (in particular concerning mechanism properties). The GSSAPI-related URI options MONGOC_URI_CANONICALIZEHOSTNAME and MONGOC_URI_GSSAPISERVICENAME are also deprecated in favor of equivalent authentication mechanism properties instead.
    • None
    • None
    • None
    • None
    • None
    • None

      This ticket was split from DRIVERS-2915, please see that ticket for a detailed description.

            Assignee:
            ezra.chung@mongodb.com Ezra Chung
            Reporter:
            dbeng-pm-bot TPM Jira Automations Bot
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              None
              None
              None
              None