From d5067017f0509129d8d3e41aeff5d7c2a634643e Mon Sep 17 00:00:00 2001 From: gholt Date: Tue, 10 Apr 2012 11:16:06 -0700 Subject: [PATCH] Removed SCRIPT_NAME from preauth env Change-Id: Iaf5f7011cf41f503b7ccdea671cd31a0466f5248 --- swift/common/wsgi.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/swift/common/wsgi.py b/swift/common/wsgi.py index 9b6c47c00e..f42571ea40 100644 --- a/swift/common/wsgi.py +++ b/swift/common/wsgi.py @@ -299,9 +299,8 @@ def make_pre_authed_env(env, method=None, path=None, agent='Swift'): newenv = {} for name in ('eventlet.posthooks', 'HTTP_USER_AGENT', 'PATH_INFO', 'QUERY_STRING', 'REMOTE_USER', 'REQUEST_METHOD', - 'SCRIPT_NAME', 'SERVER_NAME', 'SERVER_PORT', - 'SERVER_PROTOCOL', 'swift.cache', 'swift.source', - 'swift.trans_id'): + 'SERVER_NAME', 'SERVER_PORT', 'SERVER_PROTOCOL', + 'swift.cache', 'swift.source', 'swift.trans_id'): if name in env: newenv[name] = env[name] if method: