Daniel Martin <martin / snowplow.org> writes: > In fact, this is a bug, but not the one you think. "?a=b" is a > malformed relative URI. You should get a parse error trying to create > that. > > According to RFC2396, a relative URI consists of (section 5, near the > bottom of pg. 17): You know what? I'm using an old RFC. Everything I said applies to RFC 2396, but that's not the current URI RFC. The current one is RFC 3986, and by that one firefox is doing exactly the right thing. (So, by the way, is Opera) So it is a bug in URI, and the bug is "written to an old RFC". I don't know how to explain Internet Explorer's odd behavior with regard to a relative uri of "", but that's Microsoft for you. -- s=%q( Daniel Martin -- martin / snowplow.org puts "s=%q(#{s})",s.to_a.last ) puts "s=%q(#{s})",s.to_a.last