WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
47886
When basic authentication is cancelled no rendering happens
https://bugs.webkit.org/show_bug.cgi?id=47886
Summary
When basic authentication is cancelled no rendering happens
Rüdiger Cordes
Reported
2010-10-18 23:37:13 PDT
This little php script echos a bit HTML if authentication is cancelled but nothing of it appears in the Safari window whereas Firefox 3.6 works well. <?php if(!isset($_SERVER['PHP_AUTH_USER'])) { header('WWW-Authenticate: Basic realm="My realm"'); header('HTTP/1.0 401 Unauthorized'); echo '<HTML><HEAD><TITLE>Titel</TITLE></HEAD><BODY>Authentication cancelled!</BODY></HTML>'; exit; } ?>
Attachments
Add attachment
proposed patch, testcase, etc.
Rüdiger Cordes
Comment 1
2010-10-18 23:44:09 PDT
-
Alexey Proskuryakov
Comment 2
2010-10-19 10:05:08 PDT
This has been fixed already, please try with a nightly build from <
http://nightly.webkit.org
>. *** This bug has been marked as a duplicate of
bug 6871
***
Rüdiger Cordes
Comment 3
2010-10-19 21:03:22 PDT
I used the latest available nightly
r63355
for testing under Mac OS X 10.4.11 and still have this problem. Safari 4.1.2 has the problem too.
Alexey Proskuryakov
Comment 4
2010-10-19 22:00:23 PDT
Ah right, this can't be fixed on Tiger indeed due to limitations in lower level closed source networking code.
Rüdiger Cordes
Comment 5
2010-10-19 23:32:38 PDT
Even under 10.5 and Safari 5.0.2 it doesnt work, but with nightly ~70.000 it does ;-) Thanks Alexej, Rüdiger
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