Bug 22381
| Summary: | Decoding quote-string values | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Markus Wulftange <markus.wulftange> |
| Component: | WebKit Misc. | Assignee: | Nobody <webkit-unassigned> |
| Status: | UNCONFIRMED | ||
| Severity: | Normal | CC: | ap |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Mac | ||
| OS: | OS X 10.5 | ||
Markus Wulftange
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.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Alexey Proskuryakov
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.