[Webkit-unassigned] [Bug 10331] New: popup window goes to wrong address due to base tag

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Thu Aug 10 07:15:28 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=10331

           Summary: popup window goes to wrong address due to base tag
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
               URL: http://www.rtl.de/videolounge/player.php?video_id=26542&
                    navi_cat=&isdeeplink=1&rp=http://www.rtl.de/index.php
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: Evangelism
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: david.storey at opera.com


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.    


-- 
Configure bugmail: http://bugzilla.opendarwin.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