-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
synapse does not escape forward slashes in key IDs when making a federation key/v2/server/...
request
#14488
Comments
key/v2/server/...
requestkey/v2/server/...
request
As @squahtx says, we should audit other uses of urllib.parse.quote to see if there are other problems like this. Grep for |
@DMRobertson Did we do this / find anymore? |
Other than constructing the regex, I haven't done this. It's on my to-do list, but maybe should raise another issue to track it. |
Done: #14511. |
synapse/synapse/crypto/keyring.py
Lines 857 to 874 in d8cc86e
urllib.parse.quote doesn't escape slashes by default: because it expects to given an entire url path
ouchie
The text was updated successfully, but these errors were encountered: