Mask passwords included without quotes at the ends of commands
The current password masking doesn't scrub passwords from commands
in the case where the password doesn't have quotes around it and
the password is the last string in the command. This commit updates
one of the regular expressions to catch this case.
Adds tests to ensure passwords at the ends of commands are properly
sanitized.
Reviewed: https:/ /review. openstack. org/97305 /git.openstack. org/cgit/ openstack/ oslo-incubator/ commit/ ?id=5e3d3a544f8 03c453cb86a7df0 4becd6a7b1a4c3
Committed: https:/
Submitter: Jenkins
Branch: master
commit 5e3d3a544f803c4 53cb86a7df04bec d6a7b1a4c3
Author: Brad Pokorny <email address hidden>
Date: Mon Jun 2 18:06:37 2014 +0000
Mask passwords included without quotes at the ends of commands
The current password masking doesn't scrub passwords from commands
in the case where the password doesn't have quotes around it and
the password is the last string in the command. This commit updates
one of the regular expressions to catch this case.
Adds tests to ensure passwords at the ends of commands are properly
sanitized.
Change-Id: Id57a0cb05cd76e f8c26def738305a de6b085aaa7
Closes-Bug: #1320028