Issue #4476 has been updated by Akinori MUSHA. Status changed from Assigned to Closed ---------------------------------------- Bug #4476: [PATCH] URI('http://hoge/b/').route_to('http://hoge/b') wrongly returns './' http://redmine.ruby-lang.org/issues/4476 Author: Akinori MUSHA Status: Closed Priority: Normal Assignee: akira yamada Category: lib Target version: ruby -v: ruby 1.9.3dev (2011-03-03 trunk 31011) [x86_64-freebsd8] When it should be '../b'. I revamped URI::Generic#route_from_path so that (trailing) slashes are properly and explicitly handled. Please review the attached patch. -- http://redmine.ruby-lang.org