Issue #7396 has been updated by akr (Akira Tanaka).

Status changed from Assigned to Rejected

URI.encode is almost always wrong.

For example, URI.encode encodes "%" as "%25".
So, a valid URI which contains "%" is modified by the patch.
It means a valid URI will be misinterpreted.
----------------------------------------
Feature #7396: encode location header
https://bugs.ruby-lang.org/issues/7396#change-38284

Author: zzak (Zachary Scott)
Status: Rejected
Priority: Normal
Assignee: akr (Akira Tanaka)
Category: lib
Target version: next minor


from github:
https://github.com/ruby/ruby/pull/189


-- 
http://bugs.ruby-lang.org/