Commit bfc9aca1 authored by Jan Lindström's avatar Jan Lindström Committed by GitHub

Merge pull request #615 from grooverdan/5.5-MDEV-13129-apport-filter-wsrep_sst_auth

MDEV-13129: apport - sanitize wsrep_sst_auth from report
parents b3814af3 77cce207
......@@ -13,8 +13,9 @@ def _add_my_conf_files(report, filename):
report[key] = ""
for line in read_file(filename).split('\n'):
try:
if 'password' in line.split('=')[0]:
line = "%s = @@APPORTREPLACED@@" % (line.split('=')[0])
sysvar = line.split('=')[0]
if sysvar in ['password', 'wsrep_sst_auth']:
line = "%s = @@APPORTREPLACED@@" % (sysvar)
report[key] += line + '\n'
except IndexError:
continue
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment