hoisie/web — pull request #118 by muesli (2013-03-04 14:33:50+00:00)
Title: Fixed routing for request-paths which contain an encoded slash (%2F)

Assuming you have set up a route like this:
web.Get("/album/(.*?)/(.*?)/info", AlbumInfo)

Requests which contain an encoded slash (%2F) would now break this route, because the route handling is operating on the already url-decoded path. Consider this example:

http://.../album/Manowar+%2F+Friends/Into+Glory+Ride+%2F+Hail+to+England/info

The routing-handler would see this as: http://.../album/Manowar+/+Friends/Into+Glory+Ride+/+Hail+to+England/info

My fix uses the encoded requestURI to detect the right route and then unescapes the specified arguments only before calling the user-handler.