▲ | estebank 4 days ago | |||||||||||||||||||||||||
The security concerns are those of "Trojan source", where the displayed text doesn't correspond to the bytes on the wire.[1] I don't think a wire protocol should necessarily restrict them, for the sake of compatibility with existing text corpus out there, but a fair observation. | ||||||||||||||||||||||||||
▲ | yencabulator 4 days ago | parent [-] | |||||||||||||||||||||||||
The enforcement is an app-level issue, depending on the semantics of the field. I agree it doesn't belong in the low-level transport protocol. The rules for "username", "display name", "biography", "email address", "email body" and "contents of uploaded file with name foo.txt" are not all going to be the same. | ||||||||||||||||||||||||||
|