Project

General

Profile

Bug #4476

[PATCH] URI('http://hoge/b/').route_to('http://hoge/b') wrongly returns './'

Added by knu (Akinori MUSHA) over 7 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
ruby -v:
ruby 1.9.3dev (2011-03-03 trunk 31011) [x86_64-freebsd8]
[ruby-core:35444]

Description

=begin
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.
=end

Associated revisions

Revision 835693da
Added by knu (Akinori MUSHA) about 7 years ago

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 31288
Added by knu (Akinori MUSHA) about 7 years ago

Revision 31288
Added by knu (Akinori MUSHA) about 7 years ago

Revision 31288
Added by knu (Akinori MUSHA) about 7 years ago

Revision 31288
Added by knu (Akinori MUSHA) about 7 years ago

Revision 31288
Added by knu (Akinori MUSHA) about 7 years ago

Revision 408b181d
Added by knu (Akinori MUSHA) about 7 years ago

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@31578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 176061e3
Added by shyouhei (Shyouhei Urabe) about 7 years ago

merge revision(s) 31578:

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@31578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Signed-off-by: URABE, Shyouhei shyouhei@ruby-lang.org

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@31666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision bc5aeb98
Added by yugui (Yuki Sonoda) about 7 years ago

merges r31288 and r31289 from trunk into ruby_1_9_2.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

History

#1 [ruby-core:35445] Updated by knu (Akinori MUSHA) over 7 years ago

  • Status changed from Open to Assigned
  • Assignee set to akira (akira yamada)

=begin

=end

#2 Updated by akira (akira yamada) about 7 years ago

=begin
I confirmed. Could you please commit your patch?
=end

#3 [ruby-core:35772] Updated by knu (Akinori MUSHA) about 7 years ago

  • Status changed from Assigned to Closed

=begin

=end

Also available in: Atom PDF