From: "Martin J. Dürst" Date: 2010-08-02T16:28:16+09:00 Subject: [ruby-core:31594] Re: [Bug #3457] URI.encode does not escape square brackets On 2010/08/02 11:47, Tanaka Akira wrote: > 2010/8/2 Shyouhei Urabe: >> >>> Don't use URI.encode. >> >> Then should it issue a warning at least? > > % ruby -ruri -ve 'URI.encode("a")' > ruby 1.9.3dev (2010-06-10 trunk 28257) [i686-linux] > -e:1:in `
': warning: URI.escape is obsolete Could this be expanded to say something like "warning: URI.escape is obsolete, please use FOO"? Regards, Martin. -- #-# Martin J. D�rst, Professor, Aoyama Gakuin University #-# http://www.sw.it.aoyama.ac.jp mailto:duerst@it.aoyama.ac.jp