drone/routes — pull request #11 by nilobject (2013-06-03 05:54:20+00:00)
Title: Parameters specified in the routes themselves are never decoded

This commit makes parameters within a URL be decoded, just like the regular query parameters. For example, the route "/test/:name/foo" and the path: "/test/Test+User/foo" should result in the string "Test User" for the ":name" key, not "Test+User".

This patch applies that, and in an attempt to keep it from choking on invalid escapes, it defaults back to the original match if QueryUnescape fails. This is my preferred behavior, but doesn't necessarily match what your vision for how this project was meant to process that type of failure.