#1904: Handle lack of trailing slash issues better
------------------------+---------------------------------------------------
Reporter: mramm | Owner: anonymous
Type: defect | Status: new
Priority: high | Milestone: 2.0
Component: TurboGears | Version: trunk
Severity: normal | Resolution:
Keywords: sprint |
------------------------+---------------------------------------------------
Comment (by percious):
Another per-controller method way of handling this is:
{{{
if not pylons.request.url.endswith('/'):
redirect(pylons.request.url+'/')
}}}
--
Ticket URL: <http://trac.turbogears.org/ticket/1904#comment:9>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "TurboGears Tickets" group.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---