mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/uri/generic.rb (URI::Generic#check_path): REL_PATH should a
symbol. [ruby-core:19805] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b91220fbd5
commit
8bc28d82b4
2 changed files with 6 additions and 1 deletions
|
@ -4,6 +4,11 @@ Tue Nov 11 23:02:27 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
|
||||||
(--yydebug): wrote "do not use".
|
(--yydebug): wrote "do not use".
|
||||||
(--dump): wrote "do not use".
|
(--dump): wrote "do not use".
|
||||||
|
|
||||||
|
Tue Nov 11 21:22:28 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
|
* 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@mbf.nifty.com>
|
Tue Nov 11 20:49:29 2008 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
|
||||||
|
|
||||||
* configure.in: fix SEGV on Mac OS X 10.5.3 with pthread.
|
* configure.in: fix SEGV on Mac OS X 10.5.3 with pthread.
|
||||||
|
|
|
@ -481,7 +481,7 @@ module URI
|
||||||
"bad component(expected absolute path component): #{v}"
|
"bad component(expected absolute path component): #{v}"
|
||||||
end
|
end
|
||||||
else
|
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,
|
raise InvalidComponentError,
|
||||||
"bad component(expected relative path component): #{v}"
|
"bad component(expected relative path component): #{v}"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue