Ruby Forum Ruby-core > [Bug #448] URI::join does not concatenate all strings passed in

Posted by Anonymous (Guest)
on 15.08.2008 18:18
(Received via mailing list)
Bug #448: URI::join does not concatenate all strings passed in
http://redmine.ruby-lang.org/issues/show/448

Author: Anonymous
Status: Open, Priority: Normal

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)