Modify ↓
Opened 16 years ago
Closed 16 years ago
#7278 closed defect (worksforme)
wiki attachments should send a content-disposition header indicating the filename
Reported by: | anonymous | Owned by: | Christian Boos |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | attachment | Version: | 0.10.4 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Since attachments are fetched with a query string to indicate the format, downloading attachments with certain http clients will give a filename includin the query string (e.g. "wget http://libcaca.zoy.org/attachment/wiki/libcaca/libcaca-0.99.beta13b.tar.gz?format=raw" will give you a file named libcaca-0.99.beta13b.tar.gz?format=raw)
Trac should send a content-disposition header with attachments which indicates the proper filename of the attachment.
Attachments (0)
Note:
See TracTickets
for help on using tickets.
Trac already does this in version 0.11 :)