Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-376

mongofiles allows for an empty prefix

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 2.8.0-rc1
    • mongofiles
    • None
    • Completed

    Description

      To reproduce, run mongofiles -dtest -ctest put filename --prefix "".

      This will create two collections within the test.test namespace with names, .chunks and .files. While you can successfully retrieve the file again using mongofiles, we probably should not allow users create collection names that start with dots.

      Attachments

        Issue Links

          Activity

            People

              adinoyi.omuya@mongodb.com Adinoyi Omuya
              adinoyi.omuya@mongodb.com Adinoyi Omuya
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: