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

mongofiles allows for an empty prefix

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0-rc1
    • Component/s: mongofiles
    • Labels:
      None
    • Documentation Changes:
      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

              Assignee:
              adinoyi.omuya Adinoyi Omuya
              Reporter:
              adinoyi.omuya Adinoyi Omuya
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: