Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 14401 - content disposition isn't set when viewing attachments
Summary: content disposition isn't set when viewing attachments
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Bugzilla (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: John Davis (zhen) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-22 20:21 UTC by Russ Tennant
Modified: 2011-10-30 23:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Russ Tennant 2003-01-22 20:21:10 UTC
When clicking on an attachment link, the attachment isn't shown in some browsers 
and you are requested to download the attachment with the path of the request as the 
filename. The Content-Disposition header isn't set when viewing an attachment for bug 
reports. I checked other bugzilla sites and they do set the content disposition and 
behave as you would expect. I also downloaded version 2.17.3 and looked at the code 
in attachment.cgi, specifically the view function and it also sets the header. 
 
Outputting a header like the following when someone requests an attachment would fix 
the problem. 
 
	Content-Disposition: inline: filename=$filename 
 
See line 381 of attachment.cgi in version 2.17.3 of bugzilla.
Comment 1 John Davis (zhen) (RETIRED) gentoo-dev 2003-01-23 11:22:44 UTC
There was a dup of this bug, but I do not have the bug # handy. 
The long and the short of it is that this is fixed in the new gentoo bugzilla,
which is set to roll out in the next couple of weeks.

//zhen