Problems with CRLF
Arav K.
nothien at uber.space
Thu Nov 5 15:23:17 GMT 2020
On Thu Nov 5, 2020 at 4:05 PM WAT, Adnan Maolood wrote:
> Using CRLF to terminate response headers allows a server to get away
> with the following response:
>
> 10 This META is more than one line long\n
> I bet your client can't handle this\n
> The end\r\n
I will check myself, but I don't think most clients would throw up when
faced with input like this. I thought it's a common way to present
multi-line input prompts. If it's not, that's also fine, but I don't
see this being so big of an issue that the spec needs to be changed.
Most 'proper' clients (i.e. not shell scripts) should have absolutely no
problem dealing with this. Shell scripts will certainly have to be wary
with assuming it's a single line, but even then, no biggie. Perhaps we
can provide this as a Gemini torture test (if it isn't already one), as
I know many clients do check against that.
~aravk | ~nothien
More information about the Gemini
mailing list