Don't hide partial keyword log. closes #1043

This commit is contained in:
Ruud
2012-11-13 20:24:58 +01:00
parent 6dc3c8d69d
commit 68c0496f8e

View File

@@ -56,7 +56,8 @@ class CPLog(object):
if not Env.get('dev'):
for replace in self.replace_private:
msg = re.sub('(%s=)[^\&]+' % replace, '%s=xxx' % replace, msg)
msg = re.sub('(\?%s=)[^\&]+' % replace, '?%s=xxx' % replace, msg)
msg = re.sub('(&%s=)[^\&]+' % replace, '&%s=xxx' % replace, msg)
# Replace api key
try: