[#30408] Ruby 1.8.6 preview2 has been released — "Akinori MUSHA" <knu@...>

 Ruby 1.8.6 preview2 をリリースしました。

20 messages 2007/02/24
[#30414] fail to autoload at $SAFE==4 (Re: Ruby 1.8.6 preview2 has been released) — Hidetoshi NAGAI <nagai@...> 2007/02/25

永井@知能.九工大です.

[#30418] Re: fail to autoload at $SAFE==4 (Re: Ruby 1.8.6 preview2 has been released) — Nobuyoshi Nakada <nobu@...> 2007/02/25

なかだです。

[ruby-dev:30356] Re: backporting URI to ruby_1_8

From: "Akinori MUSHA" <knu@...>
Date: 2007-02-15 11:32:19 UTC
List: ruby-dev #30356
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"

In This Thread

Prev Next