Re: line folding - ABNF vs prose

On 2011-07-27 16:07, Willy Tarreau wrote:
> Replacing with a single SP is harder than replacing with any number of
> spaces. For instance, haproxy replaces the CRLF with a comma followed
> by a space so that the line is folded without moving a memory block,
> and it works quite well.
>
> Maybe the intention was to replace with a single SP but the result is
> still valid with multiple spaces, so maybe we should explicitly allow
> them ? Anyway good catch on this impact on the ABNF !
> ...

That might be ok betweek words (tokens/quoted-strings), but might be a 
problem inside quoted-string...

Best regards, Julian

Received on Wednesday, 27 July 2011 14:19:47 UTC