From: Akinori MUSHA Date: 2007-02-15T20:32:19+09:00 Subject: [ruby-dev:30356] Re: backporting URI to ruby_1_8 At Wed, 14 Feb 2007 22:06:05 +0900, I wrote: >  まず、 userinfo に関するバグ修正とFTPスキームの path に関する > 修正に異論はないと思います。  と書いてしまいましたが、FTPスキームの path の修正は、結果的に 非互換性を招くので議論が必要でした。  修正の依拠は RFC 1738 です。"ftp://example.net/foo/bar" の path は "/foo/bar" でなく "foo/bar" であり、 example.net 上の "/foo/bar" は "ftp://example.net/%2Ffoo/bar" であると。  ただ、 uri.path = '/foo/bar' しても絶対パスにならず、 uri.path = 'foo/bar' がエラーになる挙動はよくわかりません。 内部で保持している @path とアクセサ path の対応が歪んでおり、 uri.path = uri.path で例外発生というのはどうかと思います。  このあたり、まだやりかけなのでしょうか。  ひとまず ruby_1_8, ruby_1_8_6 では戻します。 -- / /__ __ Akinori.org / MUSHA.org / ) ) ) ) / FreeBSD.org / Ruby-lang.org Akinori MUSHA aka / (_ / ( (__( @ iDaemons.org / and.or.jp "Different eyes see different things, Different hearts beat on different strings -- But there are times for you and me when all such things agree"