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

Treat linefeeds (\n, etc.) as invalid for collection (and database?) names

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 4.2.1
    • Component/s: Shell
    • Labels:
      None

      I was using node client

      insertOne()

      I accidentally called my collection "\n\ngamestatequests" 

      a new collection as born which created me hrs of voodoo bug and undermined my confidence in the product...

      I reported that the atlas site correctly listed my collection and the documents in it... 

      but the mongo shell did not. 

      had to go to a lot of extremes to figure this out... because even the sell don't render line feed characters in a database name. 


            Assignee:
            massimiliano.marcon@mongodb.com Massimiliano Marcon
            Reporter:
            urfx@yahoo.com ur fx
            Votes:
            0 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated: