Re: RFC2231 encoding in HTTP: whitespace handling

Frank Ellermann wrote:
> Julian Reschke wrote on the http list:
> 
>> Consider these test cases:
>> (1) Content-Disposition: attachment; filename *=UTF-8''foo-%c3%a4.html
>> (2) Content-Disposition: attachment; filename*= UTF-8''foo-%c3%a4.html
>> (3) Content-Disposition: attachment; filename* =UTF-8''foo-%c3%a4.html
>  
>> Both Opera and FF understand variants (2) and (3), but FF chokes on (1).
> 
> I think FF got this right.  "*" is supposed to stick to the name,
> not to the "=".  This also simplifies the ABNF-ication with EQU 
> for all cases of "=".

Can you point to language or ABNF rules in RFC2231 or MIME that actually 
says that (I'm ready to believe you, I just want to understand how you 
come to that conclusion...).

BR, Julian

Received on Thursday, 28 August 2008 07:25:27 UTC