diff options
author | Gerhard Schmidt <estartu@augusta.de> | 2018-12-13 06:17:35 +0100 |
---|---|---|
committer | Gerhard Schmidt <estartu@augusta.de> | 2018-12-13 06:17:35 +0100 |
commit | e1a09524dc63f28064bc7da88a6ccfdf16878a63 (patch) | |
tree | 45bee1722c52d46db32316ae2f82449d06052a59 /waitress | |
parent | aa84b388177d6bda96e85542a6d14c1976d6dcfe (diff) | |
download | waitress-e1a09524dc63f28064bc7da88a6ccfdf16878a63.tar.gz |
changed any to * as any could potentially be a valid remote_peer
Diffstat (limited to 'waitress')
-rw-r--r-- | waitress/task.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/waitress/task.py b/waitress/task.py index 56315d2..5a90b25 100644 --- a/waitress/task.py +++ b/waitress/task.py @@ -791,7 +791,7 @@ class WSGITask(Task): headers = dict(request.headers) untrusted_headers = PROXY_HEADERS - if server.adj.trusted_proxy == 'any' or remote_peer == server.adj.trusted_proxy: + if server.adj.trusted_proxy == '*' or remote_peer == server.adj.trusted_proxy: untrusted_headers = self.parse_proxy_headers( environ, headers, |