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

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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • 4.2.1
    • Shell
    • None

    Description

      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. 


      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: