summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--waitress/task.py2
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,