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
This commit is contained in:
Gordon Chung 2014-05-22 10:11:52 -04:00
parent 2f6fd834b3
commit 966d4410a1
1 changed files with 1 additions and 1 deletions

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):