shyouhei/ruby — pull request #7 by mkdynamic (2011-10-24 06:06:39+00:00)
Title: ERB::Util.url_encode should not escape unreserved characters (including tilde)

Previously, `ERB::Util.url_encode` was escaping tilde (~) where it should not have.

This fixes that behaviour so that it now correctly avoids escaping all reserved uncharacters as per RFC 3986, Section 2.3:
http://tools.ietf.org/html/rfc3986#section-2.3