From: nan wu Date: 2007-07-30T20:37:03+09:00 Subject: Is it a bug of URI lib? ------=_Part_21671_25597090.1185795425293 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I use the URI.merge method, and I met something incorrect. It is a bug of URI lib? For example: require 'uri' site_url = 'http://www.try.com/test.aspx' cur_url ='?page=2' site=URI.parse(site_url) cur=URI.parse(cur_url) p farther.merge(cur) The result: # > But what I want is: *http://www.try.com/test.aspx?page=2* So I think this is a bug,because the ?page=2 is legal relative url in html. ------=_Part_21671_25597090.1185795425293--