Pylons/pyramid — Issue #375: ResourceTreeTraverser apparently inconsistently quotes/unquotes URLs
Author: ossmkitty
Created: 2011-12-11 22:22:24+00:00
State: open

On [line 625 of traversal.py](https://github.com/Pylons/pyramid/blob/master/pyramid/traversal.py#L625), `pyramid.traversal.ResourceTreeTraverser` quotes the path segments produced by route matching. However, it then passes them to `pyramid.traversal.traversal_path_info` (on [line 663](https://github.com/Pylons/pyramid/blob/master/pyramid/traversal.py#L663)), but that function assumes that the path has already been decoded. The result is that the application can wind up getting quoted keys when it expects unquoted keys during traversal.

This problem is present in both 1.3a1 and 1.2.2 through 1.2.4 (where it was introduced with the fix for issue #349).