Bug 22381 - Decoding quote-string values
: Decoding quote-string values
Status: UNCONFIRMED
: WebKit
WebKit Misc.
: 528+ (Nightly build)
: Macintosh Mac OS X 10.5
: P2 Normal
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2008-11-20 06:23 PST by
Modified: 2008-11-20 13:25 PST (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2008-11-20 06:23:58 PST
According to my understanding of RFC 822, the following is encoded correctly:

    Content-Disposition: attachment;filename="foo\" \"bar.html"

The decoded value for the filename attribute should be:

    foo" "bar.html

But instead it is decoded as:

    foo\" \"bar.html

Firefox an Opera both get it right.
------- Comment #1 From 2008-11-20 13:25:45 PST -------
File names in Content-Disposition are handled not by open source WebKit, but by Apple system frameworks. Could you please file this bug at http://bugreport.apple.com instead?

If not, someone else can do it, but it is better when a bug is linked to its original reporter.