Uploaded image for project: 'MongoDB Shell'
  1. MongoDB Shell
  2. MONGOSH-485

Improve redact logic to prevent commands unexpectedly missing from history

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Minor - P4 Minor - P4
    • No version
    • Affects Version/s: None
    • Component/s: Embedded Shell
    • None
    • Not Needed

      The redact logic based on regular expressions is pretty aggressive with not storing some commands in history. For example

      db.ddd.find({x: 'connectionId'})
      

      won't be stored because of connection.

            Assignee:
            Unassigned Unassigned
            Reporter:
            massimiliano.marcon@mongodb.com Massimiliano Marcon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: