This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Accepts "1" for a boolean #10497
Labels
A-Spec-Compliance
places where synapse does not conform to the spec
T-Defect
Bugs, crashes, hangs, security vulnerabilities, or other reported issues.
When the matrix specification says a type is a boolean, synapse accepts both
0
,1
,false
andtrue
in the request, while onlyfalse
andtrue
are valid values.I've seen this behaviour in at least the typing API (matrix-org/sytest#1088) and the register API (matrix-org/sytest#1089)
The text was updated successfully, but these errors were encountered: