damnhandy/Handy-URI-Templates — pull request #9 by tekener (2012-11-18 21:21:49+00:00)
Title: Refactored the uri encoding code to use white lists instead black lists....

Refactored the uri encoding code to use white lists instead black lists. The characters in the white lists are extracted from http://tools.ietf.org/html/rfc3986 and http://tools.ietf.org/html/rfc6570. The encoding of the fragment is like defined in the global URI rfc 3986 and not like the rfc 6570, because the uri template rfc is not correct here. The whitelist is build from Strings because they are better readable then the arrays used for example in UrlEncoder.