Closed Bug 304688 Opened 19 years ago Closed 18 years ago

javascript:window.open() opens incorrect URL

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: bugzillo, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.7.10) Gecko/20050717 Firefox/1.0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.7.10) Gecko/20050717 Firefox/1.0.6

The following script is invoked while viewing page with url
http://***/forum/index.php?act=Post&CODE=00&f=2

window.open("index.php?act=legends&CODE=emoticons&s=","Legends","width=250,height=500,resizable=yes,scrollbars=yes");

Firefox should open URL:
http://***/forum/index.php?act=legends&CODE=emoticons&s=
but it just appends "index.php?..." to existing URL and opens:
http://***/forum/index.php?act=Post&CODE=00&f=2index.php?act=legends&CODE=emoticons&s=

Reproducible: Always

Steps to Reproduce:
1. Enter Invision Power Board forum (I tried 2.0 PF4 and 2.0.4)
2. Open "New post" or "New topic" page
3. Click the "Show All" (emoticons) link

Actual Results:  
The following URL is opened:
http://***/forum/index.php?act=Post&CODE=00&f=2index.php?act=legends&CODE=emoticons&s=

And IPB reports that link is broken.

Expected Results:  
Open URL:
http://***/forum/index.php?act=legends&CODE=emoticons&s=
works fine for me entering following a javascript:window.open(...) URL from a
bugzilla page. Could you re-test with the 1.5 beta release?
No testcase, no response from reporter in close to a year.  INVALID.  Please reopen if you can provide the requested information.
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.