[Webkit-unassigned] [Bug 18674] New: Back to google.com right after log in gave the wrong page

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 21 22:26:20 PDT 2008


http://bugs.webkit.org/show_bug.cgi?id=18674

           Summary: Back to google.com right after log in gave the wrong
                    page
           Product: WebKit
           Version: 526+ (Nightly build)
          Platform: Macintosh
               URL: http://google.com
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: History
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: klobag at gmail.com


1. Change UA to be iPhone.
2. Load google.com.
3. Click on GMail and log in.
4. Load apple.com
5. Click on back

Instead of GMail page, you got a log in page

The reason is in _loadURL in WebFrame.mm, it uses the originalURLString() of
the childItem. The original request was POST and redirect to a GET, so formData
of childItem is NULL. When it is used in history navigation, the POST request
was issued as GET. That is why it got the wrong page.


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



More information about the webkit-unassigned mailing list