WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
10331
popup window goes to wrong address due to base tag
https://bugs.webkit.org/show_bug.cgi?id=10331
Summary
popup window goes to wrong address due to base tag
David Storey
Reported
2006-08-10 07:15:26 PDT
steps: Click on the link "Hier registrieren" Expected: In FF the registration page opens
http://www.rtl.de/videolounge/register/register1_new.php?target
= Actual: In Opera and Safari, the page
http://www.rtl.de/error.php
Reason: Our analysis showed that it was due to a bug in IE and FF. It seems Safari follows how Opera behaves. The link uses window.open. IE doesn't apply the base tag to window.open. FF only applies it to window.open if base is in the head of the document. Opera and Safari applies it to window.open, whether base is in the head or not. We belive this is the correct behavour. As the site uses the base tag, it applies it to the link and gives us the wrong address, causing it to be redirected to the error page. Fix: Remove the base tag or make the link absolute.
Attachments
Add attachment
proposed patch, testcase, etc.
David Storey
Comment 1
2006-08-10 07:17:49 PDT
context: RTL is a major german TV station/company. I'm unsure where the contact address for this site is. Any German speakers able to help.
Robert Blaut
Comment 2
2008-02-11 00:44:24 PST
I'm unable to find the link "Hier registrieren". Was the site changed?
Robert Blaut
Comment 3
2008-07-17 01:29:57 PDT
(In reply to
comment #2
)
> I'm unable to find the link "Hier registrieren". Was the site changed? >
As I said the site was changed. Today after clicking "Neu anmelden" the site properly shows me welcome registering page. Tested in WebKit
r35203
. Closing as fixed. David, feel free to reopen the bug report if you have other details about reported issue.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug