summary refs log tree commit diff
path: root/synapse/http
diff options
context:
space:
mode:
authorDavid Robertson <davidr@element.io>2022-03-29 11:41:19 +0100
committerSean Quah <seanq@element.io>2022-04-05 11:04:28 +0100
commita7293ef16fb3ca9f1234877f1496b30cdeeb01cd (patch)
tree6465ceb2ca58f9798fbfd18fc9341000aca9d6a1 /synapse/http
parentAdd note in changelog of non-C type locale causing Synapse to refuse to start... (diff)
downloadsynapse-a7293ef16fb3ca9f1234877f1496b30cdeeb01cd.tar.xz
Bump `black` and `click` versions (#12320)
Diffstat (limited to 'synapse/http')
-rw-r--r--synapse/http/proxyagent.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/http/proxyagent.py b/synapse/http/proxyagent.py
index 6fd88bde20..a16dde2380 100644
--- a/synapse/http/proxyagent.py
+++ b/synapse/http/proxyagent.py
@@ -41,7 +41,7 @@ from synapse.types import ISynapseReactor
 
 logger = logging.getLogger(__name__)
 
-_VALID_URI = re.compile(br"\A[\x21-\x7e]+\Z")
+_VALID_URI = re.compile(rb"\A[\x21-\x7e]+\Z")
 
 
 @implementer(IAgent)