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

shell memorizing db.auth command when there is spaces between "db." and "auth"

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 2.5.5
    • Affects Version/s: 2.5.1
    • Component/s: Shell
    • Fully Compatible
    • ALL
    • Hide

      run "db. auth(USERNAME, PASSWORD)"
      press "up" arrow to show the command with password

      Show
      run "db. auth(USERNAME, PASSWORD)" press "up" arrow to show the command with password
    • None
    • 0
    • None
    • None
    • None
    • None
    • None
    • None

      The regex for commands to exclude from shell history (i.e. auth-related commands) does not match when there are extra spaces between db and the command.

            Assignee:
            matt.kangas Matt Kangas (Inactive)
            Reporter:
            cxmcc Xiuming Chen
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: