ruby-changes:14397
From: naruse <ko1@a...>
Date: Sat, 2 Jan 2010 01:01:40 +0900 (JST)
Subject: [ruby-changes:14397] Ruby:r26227 (trunk): * lib/uri/generic.rb (URI#normalize!): normalize case of
naruse 2010-01-02 01:00:37 +0900 (Sat, 02 Jan 2010) New Revision: 26227 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=26227 Log: * lib/uri/generic.rb (URI#normalize!): normalize case of scheme. [ruby-core:27309] Modified files: trunk/ChangeLog trunk/lib/uri/generic.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 26226) +++ ChangeLog (revision 26227) @@ -1,3 +1,8 @@ +Fri Jan 1 23:17:49 2010 NARUSE, Yui <naruse@r...> + + * lib/uri/generic.rb (URI#normalize!): normalize case of + scheme. [ruby-core:27309] + Fri Jan 1 00:47:57 2010 Akinori MUSHA <knu@i...> * ext/digest/digest.c (rb_digest_instance_method_unimpl): Suppress Index: lib/uri/generic.rb =================================================================== --- lib/uri/generic.rb (revision 26226) +++ lib/uri/generic.rb (revision 26227) @@ -992,6 +992,9 @@ 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/