Bug 18674 - Back to google.com right after log in gave the wrong page
Summary: Back to google.com right after log in gave the wrong page
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: History (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Nobody
URL: http://google.com
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-21 22:26 PDT by Grace Kloba
Modified: 2021-03-31 09:05 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Grace Kloba 2008-04-21 22:26:20 PDT
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.
Comment 1 Graham Perrin 2008-11-01 19:47:24 PDT
Using WebKit-SVN-r38064.dmg on Mac OS X 10.5.5 with UA set to Mobile Safari 1.1.3 - iPhone I can not reproduce the behaviour described.