* 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
This commit is contained in:
parent
54524ed8f0
commit
6bcf78e40d
@ -1,3 +1,7 @@
|
|||||||
|
Mon Dec 22 23:00:05 2003 akira yamada <akira@ruby-lang.org>
|
||||||
|
|
||||||
|
* lib/uri/generic.rb (URI::Generic::check_opaque): fixed typo.
|
||||||
|
|
||||||
Mon Dec 22 21:59:24 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Mon Dec 22 21:59:24 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* ext/iconv/iconv.c (map_charset): always ensure code is a String.
|
* ext/iconv/iconv.c (map_charset): always ensure code is a String.
|
||||||
|
@ -617,7 +617,7 @@ Object
|
|||||||
# raise if both hier and opaque are not nil, because:
|
# raise if both hier and opaque are not nil, because:
|
||||||
# absoluteURI = scheme ":" ( hier_part | opaque_part )
|
# absoluteURI = scheme ":" ( hier_part | opaque_part )
|
||||||
# hier_part = ( net_path | abs_path ) [ "?" query ]
|
# 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,
|
raise InvalidURIError,
|
||||||
"can not set opaque with host, port, userinfo or path"
|
"can not set opaque with host, port, userinfo or path"
|
||||||
elsif v && OPAQUE !~ v
|
elsif v && OPAQUE !~ v
|
||||||
|
Loading…
x
Reference in New Issue
Block a user