#10989 closed bug (fixed)
Webpositive ignores Content-Disposition header
Reported by: | xray7224 | Owned by: | pulkomandy |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Applications/WebPositive | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
When you download a file which has a the Content-Disposition header it ignores it. An example: https://megworld.co.uk/content_disposition.txt
This should download the file with the filename "test.txt" however webpositive doesn't download it as the "attachment" in the Content-Disposition header suggests and files which it does download it ignores the filename specified.
RFC2616 section 19.5.1 (http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html).
Change History (4)
comment:1 by , 10 years ago
comment:2 by , 10 years ago
I shall fix the cert tonight, sorry for that. I can't upload it as the file doesn't have any header data it's just a text file i made up in order to show this bug. I explicitly set a header different from the URL. That can't be done with trac.
comment:3 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed in https://github.com/haiku/webkit/commit/f32f33f3ce55f6ceb971329562bc2953e63e1761.
I think your header is missing a closing quote for the filename so it is now saved as test.tx
.
xray7224,
FYI, the text file you are pointing to, is on a server with an expired certificate. So, it is not trusted. If you want to be able to show the file, you should upload it as an attachment to this issue entry.