Project

General

Profile

Bug #819

Updated by Elmer de Looff over 12 years ago

The regular expressions in the router are evaluated without Unicode support. Additionally, even when they are, this does Routes with unicode do not work for URLs that have escaped UTF8 characters get matched and result in them. This either a 404 (if a catch-all is because the UTF8 bytes are provided as-is defined) or unhandled route exception.
A re.UNICODE flag needs
to the regular expression matcher, instead of being decoded into Unicode. be set on a compiled regex pattern and Unicode strings needs to be passed to pattern.match. Both currently do not happen.

Back