This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
M_UNAUTHORIZED if 'Authorization' header value contains optional whitespace for federation requests (SYN-437) #1350
Labels
A-Spec-Compliance
places where synapse does not conform to the spec
good first issue
Good for newcomers
O-Uncommon
Most users are unlikely to come across this or unexpected workflow
S-Tolerable
Minor significance, cosmetic issues, low or no impact to users.
T-Defect
Bugs, crashes, hangs, security vulnerabilities, or other reported issues.
It's a little unclear from the spec, but I believe the intention is that the federation
Authorization
header is supposed to follow RFC7235 format. To quote:The
OWS
parts in there suggest that "optional whitespace" is allowed between comma-separatedauth-param
components.However, while synapse is happy with
it breaks with
In the latter case, the resulting error message is:
(Imported from https://matrix.org/jira/browse/SYN-437)
(Reported by @leonerd)
The text was updated successfully, but these errors were encountered: