summary refs log tree commit diff
path: root/synapse/http
diff options
context:
space:
mode:
authorMichael Kaye <1917473+michaelkaye@users.noreply.github.com>2018-09-24 11:20:10 +0100
committerMichael Kaye <1917473+michaelkaye@users.noreply.github.com>2018-09-24 11:20:10 +0100
commit128043072b8220cd1405d12d3bf5afeaffcbce16 (patch)
tree8155578c8327c6869a95c09a752ca922577ab19b /synapse/http
parentMerge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes (diff)
parentMerge pull request #3927 from matrix-org/erikj/handle_background_errors (diff)
downloadsynapse-128043072b8220cd1405d12d3bf5afeaffcbce16.tar.xz
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
Diffstat (limited to 'synapse/http')
-rw-r--r--synapse/http/site.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/http/site.py b/synapse/http/site.py

index d41d672934..50be2de3bb 100644 --- a/synapse/http/site.py +++ b/synapse/http/site.py
@@ -308,7 +308,7 @@ class XForwardedForRequest(SynapseRequest): C{b"-"}. """ return self.requestHeaders.getRawHeaders( - b"x-forwarded-for", [b"-"])[0].split(b",")[0].strip() + b"x-forwarded-for", [b"-"])[0].split(b",")[0].strip().decode('ascii') class SynapseRequestFactory(object):