From: Alex Young Date: 2007-05-19T01:09:58+09:00 Subject: Re: URI::merge bug? Daniel Martin wrote: > Daniel Martin 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. > Thanks - that pretty much confirms what I thought. Would a patch to bring URI up to RFC 3986 compliance be a huge undertaking? -- Alex