WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
6871
401 error page is never shown
https://bugs.webkit.org/show_bug.cgi?id=6871
Summary
401 error page is never shown
Freek Dijkstra
Reported
2006-01-27 03:58:34 PST
If a browser receives a client error (4xx) message upon sending a HTTP request, the server typically includes a diagnostic message. The "404" pages are well known to most people. According to the specification (RFC2068, section 10.4), "the server SHOULD include an entity containing an explanation of the error situation, and whether it is a temporary or permanent condition. These status codes are applicable to any request method. User agents SHOULD display any included entity to the user." For 404 and 403 messages, Safari does display the diagnostic webpage. However, for 401 (Unauthorized), it does not, but shows the preceeding page. Safari 'SHOULD' do show the diagnostic page instead. now, the user misses important information. Example to reproduce: 1. Open Safari 2. Go to
http://www.science.uva.nl/research/air/network/
3. Press cancel Expected results: I would exepct to see the diagnostic page, which you can get with "curl
http://www.science.uva.nl/research/air/network/
" Actual results: I see the previously visited page (or a blank page if I did not visit a page before). Work around: There is no work-around, other then using an other browser. Isolation: This behaviour does occur with 401 pages, not with 403 or 404 pages. I haven't tried with other result codes. This bug has been reported as rdar:3631782 with Apple, in june 2004. I hope it does get some more attention here.
Attachments
Add attachment
proposed patch, testcase, etc.
Joost de Valk (AlthA)
Comment 1
2006-01-27 04:02:03 PST
Confirmed, an annoying little bug this one :)
Alexey Proskuryakov
Comment 2
2010-07-09 17:45:08 PDT
My patch for
bug 13075
fixes this, too.
Alexey Proskuryakov
Comment 3
2010-07-12 10:01:51 PDT
Fixed on Mac in <
http://trac.webkit.org/changeset/63095
>. A Windows Safari fix is in closed source code.
Alexey Proskuryakov
Comment 4
2010-10-19 10:05:08 PDT
***
Bug 47886
has been marked as a duplicate of this bug. ***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug