mongoimport does not validate UTF-8 input, resulting in breakage when querying

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 1.5.3
    • Affects Version/s: 1.4.3
    • Component/s: Tools
    • None
    • Environment:
      Debian Lenny
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The mongoimport tool will happily let me import data with invalid UTF-8 encoding. MongoDB shell and PyMongo driver will then barf when I try to query the collection, when some invalid UTF-8 characters appear in the documents.

              Assignee:
              Mathias Stearn
              Reporter:
              Niall O'Higgins
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: