diff options
author | Amber Brown <hawkowl@atleastfornow.net> | 2018-09-14 03:53:56 +1000 |
---|---|---|
committer | Amber Brown <hawkowl@atleastfornow.net> | 2018-09-14 03:53:56 +1000 |
commit | 8f08d848f53bc79cdd47f8d4025313268a16b227 (patch) | |
tree | 2f46dc9ad52ef4b8ad49a4ddd6edf74a5df10257 /synapse/http | |
parent | redact better (diff) | |
download | synapse-8f08d848f53bc79cdd47f8d4025313268a16b227.tar.xz |
fix
Diffstat (limited to 'synapse/http')
-rw-r--r-- | synapse/http/site.py | 2 |
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] |