[Webkit-unassigned] [Bug 43485] New: [GTK] 407 page contents prepended to desired page contents

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 4 08:20:53 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=43485

           Summary: [GTK] 407 page contents prepended to desired page
                    contents
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: barry.scott at onelan.co.uk


To the SoupSeesion add an implementation of SoupProxyURIResolver.
When the first request goes through the body of the 407 response
is combined with the desired pages body.

The 2nd and subsequent load_url() calls to webkit work as expect
(SoupLogger shows that the ProxyAuth head is always sent).

The following patch suggested by danw fixed the problem.

--- WebCore/platform/network/soup/ResourceHandleSoup.cpp~       2010-08-04 15:08:43.364294079 +0100
+++ WebCore/platform/network/soup/ResourceHandleSoup.cpp        2010-08-04 15:08:43.365413474 +0100
@@ -153,7 +153,8 @@
 {
     if (SOUP_STATUS_IS_TRANSPORT_ERROR(statusCode)
         || (SOUP_STATUS_IS_REDIRECTION(statusCode) && (statusCode != SOUP_STATUS_NOT_MODIFIED))
-        || (statusCode == SOUP_STATUS_UNAUTHORIZED))
+        || (statusCode == SOUP_STATUS_UNAUTHORIZED)
+        || (statusCode == SOUP_STATUS_PROXY_UNAUTHORIZED))
         return true;

     return false;

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list