Project

General

Profile

Actions

Bug #4476

closed

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

Added by knu (Akinori MUSHA) about 13 years ago. Updated almost 13 years ago.

Status:
Closed
Target version:
-
ruby -v:
ruby 1.9.3dev (2011-03-03 trunk 31011) [x86_64-freebsd8]
Backport:
[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


Files

Updated by knu (Akinori MUSHA) about 13 years ago

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

=begin

=end

Actions #2

Updated by akira (akira yamada) about 13 years ago

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

Updated by knu (Akinori MUSHA) about 13 years ago

  • Status changed from Assigned to Closed

=begin

=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0