Use CGI.escape instead of URI.escape, because URI is obsoleted.
ref: https://github.com/ruby/ruby/commit/238b979f1789f95262a267d8df6239806f2859cc
J
Jason Lee committed
932a247f5fb4a14b3e096ec88a73f8fce481eebb
Parent: 41bcab1
ref: https://github.com/ruby/ruby/commit/238b979f1789f95262a267d8df6239806f2859cc