Closed Bug 290685 Opened 20 years ago Closed 20 years ago

can't translate address with asp script

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED INVALID

People

(Reporter: psv, Assigned: bugzilla)

References

()

Details

(Keywords: testcase)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3

The address 

http://www.zimmer.co.il/ClickStats.asp?sleepID=1134&goto=http://www.zimmer.co.il/villa-galilee

will be transplated to

http://www.zimmer.co.il/SiteShow.asp?site_id=1428

but Firefox stops without translating.

Internet Explorer and Opera work properly.


Reproducible: Always

Steps to Reproduce:
1. Go to www.zimmer.co.il/roompromo.asp
2. Click to any item in list


Actual Results:  
Firefox opens new tab. The status is 'Done', but the new tab is empty.
Address bar has (ID may be another):
http://www.zimmer.co.il/ClickStats.asp?sleepID=1134&goto=http://www.zimmer.co.il/villa-galilee

Expected Results:  
Page will be loaded sucessfully.
Address bar will have (ID may be another):
  http://www.zimmer.co.il/SiteShow.asp?site_id=1428
Source that doesn't redirect:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<body>
<form name="goto" method=get action="http://www.zimmer.co.il/villa-galilee">
</form>
<script>
document.forms("goto").submit()
</script>
</body>
</html>
Keywords: testcase
Error: document.forms is not a function
Source File:
http://www.zimmer.co.il/ClickStats.asp?sleepID=994&goto=http://www.zimmer.co.il/shpan
Line: 11

Shouldn't that be not window.document.forms ?
Changing
<script> document.forms("goto").submit()</script>
to
<script>document.forms["goto"].submit()</script>

makes this work because document.forms is an array. Resolved Invalid
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.