Summary: | REGRESSION: frame base URL is incorrect (some pages are not found) | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | William Björklund <william.bjorklund> | ||||||
Component: | Frames | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | ap | ||||||
Priority: | P1 | Keywords: | InRadar, Regression | ||||||
Version: | 523.x (Safari 3) | ||||||||
Hardware: | Mac (Intel) | ||||||||
OS: | OS X 10.4 | ||||||||
URL: | http://www.peaceandlove.nu | ||||||||
Attachments: |
|
Description
William Björklund
2007-04-16 10:56:18 PDT
URL in TOT WebKit: http://www.peaceandlove.nu/index.php?page=english Correct URL: http://www.peaceandlove.nu/2007/index.php?page=english Looks like this is caused by an incorrect calculation of frame base URL: <FRAME SRC="2007/index.php" NAME="contents" NORESIZE FRAMEBORDER="no"> *** Bug 13362 has been marked as a duplicate of this bug. *** Turns out this bug is not related to 13362. I regressed that bug to between 16068 and 16085. Turns out this one works fine on 16085 but I can confirm its broken in current ToT. I'm going to regress this one, and reopen 16085. Nevermind, I lied, I got confused with my multiple copies of webkit lying around. I think the original diagnosis was correct I'd wager real money this was caused by http://trac.webkit.org/projects/webkit/changeset/16081 Created attachment 14135 [details]
reduced test case
Created attachment 15609 [details]
Proposed fix - don't overwrite the (base)url if it's non-empty
Comment on attachment 15609 [details]
Proposed fix - don't overwrite the (base)url if it's non-empty
Nonexistent has an "e" in it, not an "a".
+ (WebCore::Document::open): Only set the url and baseURL in document.open if the are still empty or about:blank
"they are"
r=me
Landed by Brady in r24491. |