[lug] Netscape6/Mozilla

rm at fabula.de rm at fabula.de
Wed Nov 14 09:09:59 MST 2001


On Wed, Nov 14, 2001 at 08:41:16AM -0700, Riggs, Rob wrote:
> I've come upon a *very* annoying defect in Mozilla/Netscape6 -- relative
> URLs that specify the protocol (e.g. https:/cgi-bin/foo) are treated as
> absolute URLs, and the first part of the path expanded with www. and .com.
> (Imagine all of the traffic posted to www.cgi-bin.com.) Now, according to
> the spec this is not legal, but it is convention. 

Maybe, but an awfully bad (and dangerous) one. This asumption (wrongly)
implies that one can change protocol without changing the BASE URL.
'http:/something' isn't neccessarily the same as 'https:/something' --
as a matter of they most often don't. Or, to emphasize the problem:
what happens if you go from 'http:/blub' to 'ftp:/blub' ?

> Netscape4 and IE both
> treat them as relative URLs and many web sites use them. I'm affected almost
> daily by this deficiency. The sad part is that this is one of Mozilla's most
> frequent bug reports, yet they still mark it as WONTFIX.

The fact that many err doesn't make the error go away ... The semantics
of URLs/URIs are complicated enough and will definitely never work 
inbetween different protocols (http -> LDAP ???). 
I'd say: stick with the standard even so it hurts. Isn't conformance
to the standards one of the main selling points for Linux ?


> Because of this bug, I do have Netscape4 and Mozilla (AKA Netscape6)
> installed on my box. 
> [...]

> -Rob
> 

   Ralf




More information about the LUG mailing list