mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/uri/generic.rb (URI#normalize!): normalize case of
scheme. [ruby-core:27309] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
5ca2182b36
commit
17ff65205c
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
Fri Jan 1 23:17:49 2010 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* lib/uri/generic.rb (URI#normalize!): normalize case of
|
||||
scheme. [ruby-core:27309]
|
||||
|
||||
Fri Jan 1 00:47:57 2010 Akinori MUSHA <knu@iDaemons.org>
|
||||
|
||||
* ext/digest/digest.c (rb_digest_instance_method_unimpl): Suppress
|
||||
|
|
|
@ -992,6 +992,9 @@ module URI
|
|||
if path && path == ''
|
||||
set_path('/')
|
||||
end
|
||||
if scheme && scheme != scheme.downcase
|
||||
set_scheme(self.scheme.downcase)
|
||||
end
|
||||
if host && host != host.downcase
|
||||
set_host(self.host.downcase)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue