Skip to content
This repository

ResourceTreeTraverser apparently inconsistently quotes/unquotes URLs #375

Closed
jamadden opened this Issue December 11, 2011 · 1 comment

2 participants

Jason Chris McDonough
Jason

On line 625 of traversal.py, 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), 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).

Chris McDonough
Owner

This has been fixed on the 1.2 branch at:

02ad73d...980f0a3

And on the 1.3 branch at:

a1751e1...f38fc45

Thank you!

Chris McDonough mcdonc closed this January 05, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.