Bug 22381 - Decoding quote-string values
Summary: Decoding quote-string values
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Macintosh OS X 10.5
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2008-11-20 06:23 PST by Markus Wulftange
Modified: 2008-11-20 13:25 PST (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Markus Wulftange 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 Alexey Proskuryakov 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.