< :前の番号
^ :番号順リスト
> :次の番号
P :前の記事(スレッド移動)
N :次の記事(スレッド移動)
|<:前のスレッド
>|:次のスレッド
^ :返事先
_:自分への返事
>:同じ返事先を持つ記事(前)
<:同じ返事先を持つ記事(後)
---:分割してスレッド表示、再表示
| :分割して(縦)スレッド表示、再表示
~ :スレッドのフレーム消去
.:インデックス
..:インデックスのインデックス
Bug #1699: URI::FTP to_s problem after modification
http://redmine.ruby-lang.org/issues/show/1699
Author: Norihisa Fujita
Status: Open, Priority: Normal
ruby -v: ruby 1.9.2dev (2009-06-29 trunk 23886)
After modification URI::FTP object by +, a slash is missing after host.
ruby 1.8.7 also has this problem, but 1.8.6 does not.
I think we should use self.path instead of @path in to_s. (please see attached patch)
Reproduction code is:
require 'uri'
uri = 'ftp://host/path'
puts URI.parse(uri) #=> ftp://host/path
puts URI.parse(uri) + './foobar' #=> ftp://hostfoobar
----------------------------------------
http://redmine.ruby-lang.org