Bug 10331 - popup window goes to wrong address due to base tag
Summary: popup window goes to wrong address due to base tag
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Evangelism (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL: http://www.rtl.de/videolounge/player....
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-10 07:15 PDT by David Storey
Modified: 2008-07-17 01:29 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 David Storey 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.    
Comment 1 David Storey 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.
Comment 2 Robert Blaut 2008-02-11 00:44:24 PST
I'm unable to find the link "Hier registrieren". Was the site changed?
Comment 3 Robert Blaut 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.