|
Exactly. Please DO NOT mess with protocols, especially legacy critical protocols based on in-band signaling. HTTP/1.1 was regrettably but irreversibly designed with security-critical parser alignment requirements. If two implementations disagree on whether `A:B\nC:D` contains a value for C, you can build a request smuggling gadget, leading to significant attacks. We live in a post-Postel world, only ever generate and accept CRLF in protocols that specify it, however legacy and nonsensical it might be. (I am a massive, massive SQLite fan, but this is giving me pause about using other software by the same author, at least when networks are involved.) |
The situation is different with SMTP, see https://www.postfix.org/smtp-smuggling.html