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 | 779fc7f77108c3babb9534f7467da702ba818d44 (patch) | |
| tree | 159905509b4fe49e681196b40621c3944fac5d32 /lib/uri | |
| parent | 663e6421bf1d4f2f7b8be573503054e483f2245c (diff) | |
| download | ruby-779fc7f77108c3babb9534f7467da702ba818d44.tar.gz ruby-779fc7f77108c3babb9534f7467da702ba818d44.tar.xz ruby-779fc7f77108c3babb9534f7467da702ba818d44.zip | |
* lib/uri/generic.rb (URI::Generic::check_opaque): fixed typo.
git-svn-id: http://svn.ruby-lang.org/repos/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 4ebe1fb0a..a96810146 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 |
