diff options
author | akira <akira@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-12-22 14:01:07 +0000 |
---|---|---|
committer | akira <akira@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-12-22 14:01:07 +0000 |
commit | 6bcf78e40df4b20e85ab1f2207dd88781e578867 (patch) | |
tree | 159905509b4fe49e681196b40621c3944fac5d32 /lib/uri | |
parent | 54524ed8f036f993c0a2acd4b671783daa774d86 (diff) |
* lib/uri/generic.rb (URI::Generic::check_opaque): fixed typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/uri')
-rw-r--r-- | lib/uri/generic.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/uri/generic.rb b/lib/uri/generic.rb index 4ebe1fb0a3..a968101468 100644 --- a/lib/uri/generic.rb +++ b/lib/uri/generic.rb @@ -617,7 +617,7 @@ Object # raise if both hier and opaque are not nil, because: # absoluteURI = scheme ":" ( hier_part | opaque_part ) # hier_part = ( net_path | abs_path ) [ "?" query ] - if @host || @port || @usr || @path # userinfo = @user + ':' + @password + if @host || @port || @user || @path # userinfo = @user + ':' + @password raise InvalidURIError, "can not set opaque with host, port, userinfo or path" elsif v && OPAQUE !~ v |