summary refs log tree commit diff
path: root/synapse/http/site.py
diff options
context:
space:
mode:
authorAmber Brown <hawkowl@atleastfornow.net>2018-09-14 03:53:56 +1000
committerAmber Brown <hawkowl@atleastfornow.net>2018-09-14 03:53:56 +1000
commit8f08d848f53bc79cdd47f8d4025313268a16b227 (patch)
tree2f46dc9ad52ef4b8ad49a4ddd6edf74a5df10257 /synapse/http/site.py
parentredact better (diff)
downloadsynapse-8f08d848f53bc79cdd47f8d4025313268a16b227.tar.xz
fix
Diffstat (limited to 'synapse/http/site.py')
-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 f0828c6542..18f2d37e00 100644
--- a/synapse/http/site.py
+++ b/synapse/http/site.py
@@ -85,7 +85,7 @@ class SynapseRequest(Request):
         return "%s-%i" % (self.method, self.request_seq)
 
     def get_redacted_uri(self):
-        return redact_uri(self.uri)
+        return redact_uri(self.uri.decode('ascii'))
 
     def get_user_agent(self):
         return self.requestHeaders.getRawHeaders(b"User-Agent", [None])[-1]