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

mongofiles allows for an empty prefix

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.8.0-rc1
    • None
    • 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

        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: