Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #1127 (closed enhancement: wontfix)

Opened 12 years ago

Last modified 8 years ago

Login URL in QS template using wrong cherrypy.request component

Reported by: tic Owned by: anonymous
Priority: normal Milestone: 1.5
Component: CherryPy Version: 1.0b1
Severity: normal Keywords:
Cc: mikael.jansson@…

Description

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:

Change History

comment:1 Changed 12 years ago by jorge.vargas

  • Component changed from tg-admin (non-toolbox) to CherryPy
  • Milestone set to 1.0b3

why tg-admin? I believe this is cherrypy/kid/deployment so I'll set it to TG.

I'm not sure if this will break other installs.

can you take it to the mailing list?

note for the future, virtual path is not needed in CP3

comment:2 Changed 12 years ago by tic

  • Cc mikael.jansson@… added

comment:3 Changed 12 years ago by alberto

  • Milestone changed from 1.0b3 to 1.1

comment:4 Changed 12 years ago by jorge.vargas

  • Status changed from new to closed
  • Resolution set to wontfix

since the next mayor release of TG is going to CP3 I'll close this as invalid see #1181

Note: See TracTickets for help on using tickets.