ruby-changes:8687
From: matz <ko1@a...>
Date: Wed, 12 Nov 2008 02:40:15 +0900 (JST)
Subject: [ruby-changes:8687] Ruby:r20222 (trunk): * lib/uri/generic.rb (URI::Generic#check_path): REL_PATH should a
matz 2008-11-12 02:39:52 +0900 (Wed, 12 Nov 2008) New Revision: 20222 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=20222 Log: * lib/uri/generic.rb (URI::Generic#check_path): REL_PATH should a symbol. [ruby-core:19805] Modified files: trunk/ChangeLog trunk/lib/uri/generic.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 20221) +++ ChangeLog (revision 20222) @@ -4,6 +4,11 @@ (--yydebug): wrote "do not use". (--dump): wrote "do not use". +Tue Nov 11 21:22:28 2008 Yukihiro Matsumoto <matz@r...> + + * lib/uri/generic.rb (URI::Generic#check_path): REL_PATH should a + symbol. [ruby-core:19805] + Tue Nov 11 20:49:29 2008 Kazuhiro NISHIYAMA <zn@m...> * configure.in: fix SEGV on Mac OS X 10.5.3 with pthread. Index: lib/uri/generic.rb =================================================================== --- lib/uri/generic.rb (revision 20221) +++ lib/uri/generic.rb (revision 20222) @@ -481,7 +481,7 @@ "bad component(expected absolute path component): #{v}" end else - if v && v != '' && @parser.regexp[:ABS_PATH] !~ v && @parser.regexp[REL_PATH] !~ v + if v && v != '' && @parser.regexp[:ABS_PATH] !~ v && @parser.regexp[:REL_PATH] !~ v raise InvalidComponentError, "bad component(expected relative path component): #{v}" end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/