Skip to content

Commit

Permalink
Fixes #28553 - improved password filtering in debug
Browse files Browse the repository at this point in the history
(cherry picked from commit 528875d)
  • Loading branch information
lzap authored and tbrisker committed Dec 29, 2019
1 parent a764370 commit 2db5edb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/foreman-debug
Expand Up @@ -46,7 +46,7 @@ truststorePass
storepass
)
FILTER_WORDS_STR=$(IFS=$'|'; echo "${FILTER_WORDS[*]}")
FILTER="s/($FILTER_WORDS_STR)(\"?\s*[:=]\s*)\S+/\1\2+FILTERED+/g"
FILTER="s/($FILTER_WORDS_STR)(\"?\s*[:=]?\s*)\S+/\1\2+FILTERED+/g"

error() {
echo "$*" >&2
Expand Down

0 comments on commit 2db5edb

Please sign in to comment.