summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-11-18 16:46:16 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-11-18 16:46:16 +0000
commitf86a98779c95a6a36eec05a63f16999d2a9ff877 (patch)
tree38df109205239776049345f3fc12df1091f67c46 /lib
parentb93f61286694869ca6eb9bdccb184a0103c2d838 (diff)
downloadruby-f86a98779c95a6a36eec05a63f16999d2a9ff877.tar.gz
ruby-f86a98779c95a6a36eec05a63f16999d2a9ff877.tar.xz
ruby-f86a98779c95a6a36eec05a63f16999d2a9ff877.zip
merges r20222 from trunk into ruby_1_9_1.
* lib/uri/generic.rb (URI::Generic#check_path): REL_PATH should a symbol. [ruby-core:19805] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/uri/generic.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/uri/generic.rb b/lib/uri/generic.rb
index f569a22f4..65c6c7379 100644
--- a/lib/uri/generic.rb
+++ b/lib/uri/generic.rb
@@ -481,7 +481,7 @@ module URI
"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