Title: [136737] trunk/LayoutTests
- Revision
- 136737
- Author
- [email protected]
- Date
- 2012-12-05 12:39:33 -0800 (Wed, 05 Dec 2012)
Log Message
http/tests/loading/authentication-after-redirect-stores-wrong-credentials/resources/wrong-credential-2-auth-then-redirect-to-finish.php returns a malformed authentication header
https://bugs.webkit.org/show_bug.cgi?id=104052
Patch by Martin Robinson <[email protected]> on 2012-12-05
Reviewed by Alexey Proskuryakov.
Add an authentication realm to the WWW-Authenticate header of the PHP script. Some networking
libraries do not cope well with WWW-Authenticate headers that do not include realms. Additionally
RFC2617 specifies that this part of the header is not-optional.
This test will be unskipped once the rest of the authentication support is complete in the
libsoup backend and GTK+ DRT/WTR.
* http/tests/loading/authentication-after-redirect-stores-wrong-credentials/resources/wrong-credential-2-auth-then-redirect-to-finish.php:
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (136736 => 136737)
--- trunk/LayoutTests/ChangeLog 2012-12-05 20:35:28 UTC (rev 136736)
+++ trunk/LayoutTests/ChangeLog 2012-12-05 20:39:33 UTC (rev 136737)
@@ -1,3 +1,19 @@
+2012-12-05 Martin Robinson <[email protected]>
+
+ http/tests/loading/authentication-after-redirect-stores-wrong-credentials/resources/wrong-credential-2-auth-then-redirect-to-finish.php returns a malformed authentication header
+ https://bugs.webkit.org/show_bug.cgi?id=104052
+
+ Reviewed by Alexey Proskuryakov.
+
+ Add an authentication realm to the WWW-Authenticate header of the PHP script. Some networking
+ libraries do not cope well with WWW-Authenticate headers that do not include realms. Additionally
+ RFC2617 specifies that this part of the header is not-optional.
+
+ This test will be unskipped once the rest of the authentication support is complete in the
+ libsoup backend and GTK+ DRT/WTR.
+
+ * http/tests/loading/authentication-after-redirect-stores-wrong-credentials/resources/wrong-credential-2-auth-then-redirect-to-finish.php:
+
2012-12-05 Roger Fong <[email protected]>
Unreviewed Windows re-rebaseline.
Modified: trunk/LayoutTests/http/tests/loading/authentication-after-redirect-stores-wrong-credentials/resources/wrong-credential-2-auth-then-redirect-to-finish.php (136736 => 136737)
--- trunk/LayoutTests/http/tests/loading/authentication-after-redirect-stores-wrong-credentials/resources/wrong-credential-2-auth-then-redirect-to-finish.php 2012-12-05 20:35:28 UTC (rev 136736)
+++ trunk/LayoutTests/http/tests/loading/authentication-after-redirect-stores-wrong-credentials/resources/wrong-credential-2-auth-then-redirect-to-finish.php 2012-12-05 20:39:33 UTC (rev 136737)
@@ -1,6 +1,6 @@
<?php
if (!isset($_SERVER['PHP_AUTH_USER'])) {
- header('WWW-Authenticate: Basic');
+ header('WWW-Authenticate: Basic realm="loading/authentication-after-redirect-stores-wrong-credentials"');
header('HTTP/1.0 401 Unauthorized');
exit;
}
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes