Chris McDonough
2011-09-08 83faa0086d7bb816ea4b84148610a7cfe751e538
refs
author Chris McDonough <chrism@plope.com>
Thursday, September 8, 2011 09:36 +0200
committer Chris McDonough <chrism@plope.com>
Thursday, September 8, 2011 09:36 +0200
commit83faa0086d7bb816ea4b84148610a7cfe751e538
tree cd5c16ae50884114807d8630dd651ebd30016f2a tree | zip | gz
parent b01e971f204184e2ede685183d62d390a9081c74 view | diff
- Within ``pyramid.traversal.traversal_path`` , canonicalize URL segments
from UTF-8 to Unicode before checking whether a segment matches literally
one of ``.``, the empty string, or ``..`` in case there's some sneaky way
someone might tunnel those strings via UTF-8 that don't match the literals
before decoded.
2 files modified
25 ■■■■■ changed files
CHANGES.txt 11 ●●●●● diff | view | raw | blame | history
pyramid/traversal.py 14 ●●●●● diff | view | raw | blame | history