Browse Source

remove token from notifier middleware

notifier middleware is capturing token and sending it to MQ. this
is not advisable so we should filter it out.

Change-Id: I11d9f2f23fc3b60c945c33d4d02bd7640d88a083
Closes-Bug: #1321080
changes/78/94878/1
Gordon Chung 6 years ago
parent
commit
966d4410a1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      pycadf/middleware/notifier.py

+ 1
- 1
pycadf/middleware/notifier.py View File

@ -88,7 +88,7 @@ class RequestNotifier(base.Middleware):
include them.
"""
return dict((k, v) for k, v in six.iteritems(environ)
if k.isupper())
if k.isupper() and k != 'HTTP_X_AUTH_TOKEN')
@log_and_ignore_error
def process_request(self, request):


Loading…
Cancel
Save