#1127: Login URL in QS template using wrong cherrypy.request component
------------------------------------+---------------------------------------
Reporter: tic | Owner: anonymous
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: tg-admin (non-toolbox) | Version: 1.0b1
Severity: normal | Keywords:
------------------------------------+---------------------------------------
Using the virtual_path_filter to remove prefixes (e.g. when deploying
using FastCGI), cherrypy.request.object_path will be changed.
login.kid uses <FORM ACTION="{$previous_url}"> which controllers.Root sets
to cherrypy.request.path. This nullifies any changes made to the request
using the virtual path filter.
So, I suggest the template should be changed to use .object_path instead
of .path.
References:
* http://www.cherrypy.org/wiki/VirtualPathFilter (2.2 version)
* http://trac.turbogears.org/turbogears/wiki/TurboGearsOnDreamHost (0.9,
but adding the virtualPathFilter just before tg_init())
* http://docs.cherrypy.org/api-reference
--
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/1127>
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.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets
-~----------~----~----~----~------~----~------~--~---