summaryrefslogtreecommitdiff
path: root/pycadf
diff options
context:
space:
mode:
authorGordon Chung <chungg@ca.ibm.com>2014-05-22 10:11:52 -0400
committerGordon Chung <chungg@ca.ibm.com>2014-05-22 10:11:52 -0400
commit966d4410a1a69e0a3af678442a1a965dae80d720 (patch)
treee35b0fe0270e15c2ef22e5150e71e77dde052f93 /pycadf
parent2f6fd834b3339096dc2f54b34f2c6667e5d71182 (diff)
downloadpycadf-966d4410a1a69e0a3af678442a1a965dae80d720.tar.gz
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
Diffstat (limited to 'pycadf')
-rw-r--r--pycadf/middleware/notifier.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pycadf/middleware/notifier.py b/pycadf/middleware/notifier.py
index fc921f8..621c8b4 100644
--- a/pycadf/middleware/notifier.py
+++ b/pycadf/middleware/notifier.py
@@ -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):