Chris McDonough
2012-01-05 92dcb5f1a52d46fec7c043a1b5b4158f3d013c34
refs
author Chris McDonough <chrism@plope.com>
Thursday, January 5, 2012 12:32 +0100
committer Chris McDonough <chrism@plope.com>
Thursday, January 5, 2012 12:32 +0100
commit92dcb5f1a52d46fec7c043a1b5b4158f3d013c34
tree 72ff58e0f8559d3f71845b1b1cc52fd70157f593 tree | zip | gz
parent ad9807016fd28b7da424174fdb6ed9b93641f58f view | diff
- Using a dynamic segment named ``traverse`` in a route pattern like this::

config.add_route('trav_route', 'traversal/{traverse:.*}')

Would cause a ``UnicodeDecodeError`` when the route was matched and the
matched portion of the URL contained any high-order characters. See also
https://github.com/Pylons/pyramid/issues/385 .
3 files modified
74 ■■■■■ changed files
CHANGES.txt 8 ●●●●● diff | view | raw | blame | history
pyramid/tests/test_traversal.py 60 ●●●●● diff | view | raw | blame | history
pyramid/traversal.py 6 ●●●● diff | view | raw | blame | history