TurboGears / tg2

Python web framework with full-stack layer implemented on top of a microframework core with support for SQL DBMS, MongoDB and Pluggable Applications
http://www.turbogears.org/
Other
806 stars 78 forks source link

Reapply extension stripped by crank when disabled. #43

Closed ralphbean closed 10 years ago

ralphbean commented 11 years ago

I ran into this when porting the fedora-infra/fedora-packages app up to 2.3.0dev

amol- commented 10 years ago

This should have been solved by https://github.com/TurboGears/tg2/commit/d2cae7354bdd372a33ebd15e3b384d08aca2fc15#diff-4d30b98d300da60573f3ebf44e996f9dR56 thanks to new crank extension removal option and support for path translations. Feature will be available in TG2.3.2

It should now be possible to disable path extensions likes requested while being able to serve a "/page.html" request through a "page_html" method.