Closed Bug 275102 Opened 21 years ago Closed 21 years ago

buglists do not have a useful filename suggested anymore

Categories

(Bugzilla :: Query/Bug List, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 275108

People

(Reporter: Biesinger, Assigned: justdave)

References

()

Details

saving a buglist does not suggest a useful filename anymore. it used to suggest a filename such as bugs-2004-12-18.html. The headers are as follows: 1089375152[8116590]: http response [ 1089375152[8116590]: HTTP/1.1 200 OK 1089375152[8116590]: Date: Fri, 17 Dec 2004 22:54:09 GMT 1089375152[8116590]: Server: Apache/1.3.27 (Unix) (Red-Hat/Linux) mod_ssl/2.8.12 OpenSSL/0.9.6b DAV/1.0.3 PHP/4.1.2 mod_perl/1.26 1089375152[8116590]: Content-disposition: "inline; filename=bugs-2004-12-17.html" 1089375152[8116590]: Connection: close 1089375152[8116590]: Transfer-Encoding: chunked 1089375152[8116590]: Content-Type: multipart/x-mixed-replace;boundary="------- =_aaaaaaaaaa0" 1089375152[8116590]: ] The multipart document: --------- =_aaaaaaaaaa0 Content-Type: text/html Set-Cookie: LASTORDER=bugs.bug_id; path=/; expires=Fri, 01-Jan-2038 00:00:00 GMT Set-Cookie: BUGLIST=166694%3A169816%3A173658%3A178655%3A178944%3A180902%3A181029%3A184245%3A185750%3A187483%3A187619%3A187915%3A188394%3A188893%3A190528%3A192223%3A194825%3A197670%3A202133%3A209509%3A215343%3A218271%3A221730%3A222919%3A225276%3A225915%3A229513%3A236389%3A242934%3A243981%3A245019%3A247088%3A248488%3A259903%3A265903%3A269085%3A270123%3A271936; path=/; expires=Fri, 01-Jan-2038 00:00:00 GMT (showing the part of the actual buglist) I suspect this was caused by bug 160454 and not fixed by the subsequent fixes to expose content-disposition on the document object. if I had to guess, I'd say the reason is that the header is not in the multipart part, but only in the "main" http header. unsure whether this is a bugzilla or mozilla issue; filing in mozilla for now.
(In reply to comment #0) > if I had to guess, I'd say the reason is that the header is not in the multipart > part, but only in the "main" http header. unsure whether this is a bugzilla or > mozilla issue; filing in mozilla for now. Even if this is a bugzilla issue, mozilla should still try to do something with this, no?
So the thing is, if we're saving the _document_ we want to use the content-disposition of the document (so of the subpart). If we're saving the whole multipart request we may want to use the content-disposition of the whole request. Thing is, which we save depends on whether the user does "save page, complete" or "save page, html only". However, given that saving the whole multipart thing when "html only" is selected is a bug, I think we always want to use the content-dispositon of the part (and that this is a bugzilla bug).
OK, I agree. reassigning appropriately.
Assignee: guifeatures → justdave
Component: XP Apps: GUI Features → Query/Bug List
Product: Mozilla Application Suite → Bugzilla
QA Contact: mattyt-bugzilla
Note that the quotes are in the wrong place on the Content-Disposition header. This is a bug in the Perl CGI module and we already have a workaround in progress. *** This bug has been marked as a duplicate of 275108 ***
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.