Closed
Bug 142681
Opened 22 years ago
Closed 22 years ago
mozilla tries to download/run sh file instead of telling server to run it
Categories
(Tech Evangelism Graveyard :: English US, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: dstrozzi, Assigned: bzbarsky)
References
()
Details
I'm using mozilla release candidate 1 on linux. There is an mit webpage, that is a form for registering for courses, that isn't hanlded correctly by mozilla. It's an sh file (which you won't be able to get to unless you're an mit student, sorry!). When you go to this address you get an actual webpage with form fields, not the raw test of a shell script. I can enter the info, but when I click submit, mozilla tries to download the file. It gives me the 'do you want to save to file, or run w/ application' dialog box. I can't seem to find a list of file types and associated applications in the preferences for mozilla. However I answer the dialog box, the form doesn't work. This problem doesn't happen on RC1 under windows, just under linux. I'm also talking to the mit computing people about it. Thanks.
Comment 1•22 years ago
|
||
It depends on the MIME type sent by the server. I cannot test this as I'm not allowed to access this CGI.
Assignee | ||
Comment 2•22 years ago
|
||
QA to me for now; I'll test this once WebSis is up tomorrow.
QA Contact: imajes-qa → bzbarsky
Assignee | ||
Comment 3•22 years ago
|
||
OK. Here is the log of what the server sends back for that page: 1026[811e7a8]: http response [ 1026[811e7a8]: HTTP/1.1 200 OK 1026[811e7a8]: Server: Netscape-Enterprise/4.0 1026[811e7a8]: Date: Tue, 07 May 2002 15:22:38 GMT 1026[811e7a8]: Connection: close 1026[811e7a8]: ] Note the conspicuous length of a Content-Type header. Since this header is absent, we have to look at something else to determine the data type. So we look at the extension. The extension is .sh, and /etc/mime.types maps that to application/x-sh. So we put up a dialog box asking what to do with it. On windows, there is no mapping for .sh files by default, so we go on to the next step -- sniff the content. And the content is HTML. Configuring a Netscape 4 install to look at /etc/mime.types (which it does not do by default) should cause the same behavior in Netscape4/Linux.... Over to evangelism, assigning to self. Time to send some email. David, would you be willing to take QA contact on this one, since you're actually in a position to test it?
Assignee: Matti → bzbarsky
Status: UNCONFIRMED → NEW
Component: Browser-General → US Edu
Ever confirmed: true
Product: Browser → Tech Evangelism
Version: other → unspecified
Assignee | ||
Updated•22 years ago
|
Priority: -- → P2
Target Milestone: --- → Aug
Comment 4•22 years ago
|
||
403 now..?
Assignee | ||
Comment 5•22 years ago
|
||
Of course it is. That's why I took the bug (since I have access to the page)... ;) I've been in contact with the people in question and they're sorta working on it... slowly.
Assignee | ||
Comment 6•22 years ago
|
||
fixed as a side-effect of bug 177026
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Comment 7•21 years ago
|
||
tech evang june 2003 reorg
Component: US Edu → English US
Target Milestone: Aug → ---
Updated•9 years ago
|
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•