Merge "Add more censored headers"

This commit is contained in:
Zuul 2020-08-06 10:17:05 +00:00 committed by Gerrit Code Review
commit fbdeaecb53
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ def set_inject_headers_callback(callback):
def censor_headers(headers):
censored_headers = ['authorization']
censored_headers = ['authorization', 'X-XSRF-TOKEN', 'Cookie']
result = {}
for name, value in headers.items():
if name.lower() in censored_headers: