sinatra/sinatra — pull request #614 by zaki (2013-01-17 06:59:37+00:00)
Title: Fix routing regex

Hi,

I attempted a fix for sinatra/sinatra#611 by making the parsing regex somewhat more robust.

For now the specs seem to pass, but I'm not entirely sure that this is the best way going forward, so please review it and any comments would be appreciated.

I added a few more specs, such as support for lower-case URL-encoded entities according to http://tools.ietf.org/html/rfc3986#section-2.1

Thanks,
Zaki