1
0
Fork 0
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:
naruse 2010-01-01 16:00:37 +00:00
parent 5ca2182b36
commit 17ff65205c
2 changed files with 8 additions and 0 deletions

View file

@ -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> Fri Jan 1 00:47:57 2010 Akinori MUSHA <knu@iDaemons.org>
* ext/digest/digest.c (rb_digest_instance_method_unimpl): Suppress * ext/digest/digest.c (rb_digest_instance_method_unimpl): Suppress

View file

@ -992,6 +992,9 @@ module URI
if path && path == '' if path && path == ''
set_path('/') set_path('/')
end end
if scheme && scheme != scheme.downcase
set_scheme(self.scheme.downcase)
end
if host && host != host.downcase if host && host != host.downcase
set_host(self.host.downcase) set_host(self.host.downcase)
end end