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

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

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