summary refs log tree commit diff
path: root/synapse/http/site.py
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2020-01-14 10:37:32 +0000
committerAndrew Morgan <andrew@amorgan.xyz>2020-01-14 10:37:32 +0000
commita099ab7d380d3bf3b566d93454ecce80e29b661f (patch)
tree89ac833f8b24ec03542908a8f3db20be4cc596e4 /synapse/http/site.py
parentMerge branch 'erikj/media_admin_apis' of github.com:matrix-org/synapse into m... (diff)
parentQuarantine media by ID or user ID (#6681) (diff)
downloadsynapse-a099ab7d380d3bf3b566d93454ecce80e29b661f.tar.xz
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
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 9f2d035fa0..911251c0bc 100644 --- a/synapse/http/site.py +++ b/synapse/http/site.py
@@ -88,7 +88,7 @@ class SynapseRequest(Request): def get_redacted_uri(self): uri = self.uri if isinstance(uri, bytes): - uri = self.uri.decode("ascii") + uri = self.uri.decode("ascii", errors="replace") return redact_uri(uri) def get_method(self):