Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-10926

NamespaceString inconsistent on allowing '$' in database name

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • 2.5.2
    • Catalog
    • Storage Execution
    • ALL
    • Execution Team 2019-10-07

    Description

      "$test" passes NamespaceString::validDBName(), but "$test.foo" doesn't pass NamespaceString::normal().

      I believe the bug is in NamespaceString::normal(), and the correct behavior is that "$test.foo" should pass validation.

      Attachments

        Activity

          People

            backlog-server-execution Backlog - Storage Execution Team
            rassi J Rassi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: