Closed
Bug 518081
Opened 16 years ago
Closed 10 years ago
Firefox gives a 404 ("file not found") error page for 400 ("bad request") HTTP errors
Categories
(Core :: Networking: HTTP, defect)
Core
Networking: HTTP
Tracking
()
RESOLVED
INCOMPLETE
| Tracking | Status | |
|---|---|---|
| blocking2.0 | --- | - |
People
(Reporter: gerv, Unassigned)
References
Details
(Whiteboard: [Input])
Attachments
(1 file)
|
70.54 KB,
image/png
|
Details |
HTTP has a wide range of error codes for a range of reasons. 400 is not the same as 404, and the error shown should not be talking about files being missing.
Steps to reproduce: well, I have a web app I'm developing which can return 400 errors. I'm not sure where else on the web you can find one. Try sending bogus parameters to a RESTful web service... :-)
Gerv
Comment 1•16 years ago
|
||
I just tripped over this one myself with a web app I'm developing. Not only do you get an error page that makes no sense, but Firebug can't see the response entity-body, which is all kinds of no fun when what you want is to know whether your JSON-encoded detailed error report is being produced as intended.
Changing the Content-Type on the response from application/json to text/plain makes the entity-body show up in the browser, though.
Possibly this bug belongs in the component that displays the friendly error pages, instead of Networking:HTTP?
Just ran across this one. Developing a web app myself, and this bug made it confusing to realise what problem a user was actually having.
Comment 3•15 years ago
|
||
I'm seeing this too while viewing two sites: logging into camino.scu.edu (school site) and looking at a blank invite e-mail.
Comment 4•15 years ago
|
||
Also, seen by users via Input: http://input.mozilla.com/en-US/search/?product=firefox&q=file+not+found
Whiteboard: [Input]
Comment 5•15 years ago
|
||
I can reproduce this frequently if I visit https://mail.mozilla.com/zimbra/public/blank.html. When it happens I can shift reload and get a blank page. When the error page is shown there's nothing in the Web Console, otherwise there are entries like this:
09:00:55.630: Network: GET https://mail.mozilla.com/zimbra/public/blank.html [HTTP/1.1 200 OK 34ms]
I haven't been able to get this error page on Linux, and I haven't been able to reproduce the error page on Chrome, for example.
blocking2.0: --- → ?
Comment 6•15 years ago
|
||
Adding to comment #5, I can see this reliably on Mac with 4.0b8pre (10/12)
Comment 8•15 years ago
|
||
It could be a dupe of bug 588804, at least from comment #3 on.
Updated•15 years ago
|
blocking2.0: ? → -
Comment 9•10 years ago
|
||
no activity for a long time.. going to assume this is a dup of comment 7 or 8
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•