Bug 47886
Summary: | When basic authentication is cancelled no rendering happens | ||
---|---|---|---|
Product: | WebKit | Reporter: | Rüdiger Cordes <rc> |
Component: | Page Loading | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | ap, rc |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Mac | ||
OS: | OS X 10.4 |
Rüdiger Cordes
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
-
Alexey Proskuryakov
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
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
Ah right, this can't be fixed on Tiger indeed due to limitations in lower level closed source networking code.
Rüdiger Cordes
Even under 10.5 and Safari 5.0.2 it doesnt work, but with nightly ~70.000 it does ;-)
Thanks Alexej, Rüdiger