Uncredentialed connstrings with special chars in database names are invalid

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Connection String
    • None
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • None
    • None
    • None
    • None
    • None
    • None

      Use Case

      As a MongoDB user
      I want to be able to connect to my database
      So that __ I can use mongodb features

      User Experience

      • A user with an uncredentialed database string should be able to connect to their database, when the database name features valid special characters as per the spec (E.G: 'mongodb://localhost/d@tabase')

      Dependencies

      • N/A

      Risks/Unknowns

      • This change may require modifying a regular expression which abstracts a significant portion of uri tokenization. As a consequence, regressions and bugs may be introduced

      Acceptance Criteria

      Implementation Requirements

      • The validation layer of our connection strings in mongodb-connection-string-url should accept an uncredentialed connection string with '@' in the database name, and other special characters as per our docs

      Testing Requirements

      • Tests should evolve to cover valid connection string cases which include this particular format. 

      Documentation Requirements

      • N/A

      Follow Up Requirements

      • N/A

            Assignee:
            Unassigned
            Reporter:
            Johnathan Martell
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: