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

Possible unanticipated conversion to regex

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • 2.4.6
    • Shell
    • None
    • Amazon mongo ubuntu package
    • Linux

    Description

      Mongo client throws the following error upon issueing a find command that contains the string /^10/s in xxxID field in at least one document.

      Error: 16863 Error converting /^10/s in field xxxID to a JS RegExp object: SyntaxError: Invalid flags supplied to RegExp constructor 's'

      Attachments

        Activity

          People

            Unassigned Unassigned
            kerem Kerem Kat
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: