Closed Bug 239921 Opened 21 years ago Closed 21 years ago

Javascript location= not working with relative URL

Categories

(Firefox :: General, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 49312

People

(Reporter: ssdowd, Assigned: bugzilla)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040206 Firefox/0.8 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040206 Firefox/0.8 It appears that setting location=<some non-absolute URL> does not work in a form submit javascript. I created a copy of the script that prepends location.protocol + "//" + location.host + "/" to the value and it works. The page works in IE 6 and Galeon 1.2.13. Reproducible: Always Steps to Reproduce: 1. Go to http://www.mckinneyllb.com/schedule.asp 2. Select a team in any league. 3. Nothing happens Actual Results: Nothing. Expected Results: Show a team schedule (example: http://www.mckinneyllb.com/schedule.asp?teamname=Red+Hawks&team=638 ) Tried on 2 different firefox 0.8 installs (both win2k pro), one with a few extensions, one with almost none. Same results.
Forgot step 2b. Click Go.
*** This bug has been marked as a duplicate of 49312 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.