From: Logan Capaldo Date: 2006-04-10T07:55:38+09:00 Subject: Re: URI.join broken? --Apple-Mail-1-959892140 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed On Apr 9, 2006, at 6:22 PM, Oliver Andrich wrote: > > Can you explain to me why this is correct? I would expect > http://test.de/test1/test2 as the result of your call. > > Oliver Consider a web browser: If you are at the site http://example.com/a and you click a link whose href is b, its relative and you go to http://example.com/b If however the webs server lets you browse directories and you are at http://example.com/dir/ and you click a link a, you'll end up at http://example.com/dir/a URL/URIs aren't quite the same as file paths --Apple-Mail-1-959892140--