M_UNAUTHORIZED if 'Authorization' header value contains optional whitespace for federation requests (SYN-437) #1350
Labels
A-Spec-Compliance
good first issue
This is a fix that might be an easy place for someone to start for their first contribution
O-Uncommon
S-Tolerable
T-Defect
This issue has been migrated from #1350.
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: