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 9 years ago
parent 2f6fd834b3
commit 966d4410a1

@ -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