Closed Bug 264714 Opened 20 years ago Closed 20 years ago

javascript: relative URL is interpreted as absolut

Categories

(Firefox :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: lars, Assigned: bugzilla)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i586; de-AT; rv:1.7.3) Gecko/20041001 Firefox/0.10.1
Build Identifier: Mozilla/5.0 (X11; U; Linux i586; de-AT; rv:1.7.3) Gecko/20041001 Firefox/0.10.1

using the first "Go!"-button on http://whois.net
I get directed to 
 http://whois.cgi2?...
instead of
 http://whois.net/whois.cgi2?...
(e.g. the Mozilla-browser does is correctly)

the form-action:
 MM_openBrWindow('whois.cgi2?d='+whoisf.d.value,'whois','scrollbars=yes,
  location=yes,width=550,height=560')

the correspondig javascript-function:
 function MM_openBrWindow(theURL,winName,features) { //v2.0
   window.open(theURL,winName,features); }

thanks,
Lars

Reproducible: Always
Steps to Reproduce:
1. go to http://whois.net
2. fill the first input-field with foo
3. klick on the first "Go!" or press enter
4. wonder, why you get directed to "http://whois.cgi2?..." instead of
"http://whois.net/whois.cgi2?..."

Actual Results:  
wrong url

Expected Results:  
good url
Works for me with Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3)
Gecko/20041016 Firefox/1.0

Do you see the same thing with any extensions disabled, or with a new profile
without any extensions? How about with a recent nightly build?
thanks for your suggestions, Phil!
It seems to be a problem of the "Single Window"-extension,
I will report it there.
sorry ...
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.