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

Reject invalid namespaces in the router's createCollection command

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0, 8.0.0-rc14
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • v8.0
    • CAR Team 2024-07-08, CAR Team 2024-07-22
    • 200

      As it stands, we do not validate the namespace isValid before attempting to call into shard/config server-level creation commands. Without this check, it is possible that a database with an invalid character (in this case $) will be created, causing issues down the line. 

            Assignee:
            daniel.gomezferro@mongodb.com Daniel Gomez Ferro
            Reporter:
            blake.oler@mongodb.com Blake Oler
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: