Actions
Bug #448
closedURI::join does not concatenate all strings passed in
Description
=begin
URI::join("http://www.example.com/", "foo", "bar") should return "http://www.example.com/foo/bar", but returns "http://www.example.com/bar"
According to the source, the "merge" call should probably be "merge!"
Ruby version: ruby 1.8.6 (2007-09-23 patchlevel 110) [i686-darwin9.0.0]
(So I'm guessing this may be fixed already)
=end
Updated by shyouhei (Shyouhei Urabe) almost 16 years ago
- Assignee set to akira (akira yamada)
=begin
=end
Updated by akira (akira yamada) over 15 years ago
- Status changed from Open to Rejected
- ruby -v set to ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux]
=begin
URI::join joins some URIs in the URI-manner. All arguments for the method are treated as an URI.
So "URI::join('http://www.example.com/', 'foo', 'bar')" is equal to "URI.parse('http://www.example.com/').merge('foo').merge('bar')".
=end
Actions
Like0
Like0Like0