Pylons/pyramid — Issue #403: URL dequoting breaks pattern matching
Author: wichert
Created: 2012-01-17 13:50:56+00:00
State: open

I have a route with ```/entry/info/{type}/{aspect}/{value}``` as path. The aspect and value parts of the path come from a database and may contain a slash; since that will break URL matching I make sure to do quoting before generating the URL. This works and generates URLs such as ```http://localhost:5000/entry/info/top/shape/a-symetric%2Fangled``` . This fails to match the route, which suggests that pyramid does dequoting before URL matching and as a result treats the URL as ```/entry/info/top/shape/a-symetric/angled``` which does not match.