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 #2106 (closed defect: duplicate)

Opened 11 years ago

Last modified 11 years ago

tg2 not wsgi compliant with public/static content and identity

Reported by: lszyba1 Owned by: faide
Priority: normal Milestone: 2.0b1
Component: TurboGears Version: trunk
Severity: blocker Keywords:
Cc:

Description

Follow up on 2033 ticket after new template added to trunk.

The new template in tg.devtools is missing few tg.url. I'm attaching a patch to fixes it in templates (see tickiet2033) but after a user logs in the page gets redirected to '/' instead of tg.url('/'). I cannot find where in the code the process gets redirected. The logout button seem to redirect at the end to /login?came_from instead of tg.url('/login')?came_from.

I've been told this happens in repoze.what/who which means it is incorrectly redirecting but I'm not sure where that code is.

Lucas

Attachments

login_handler.diff Download (2.8 KB) - added by lszyba1 11 years ago.

Change History

Changed 11 years ago by lszyba1

comment:1 Changed 11 years ago by lszyba1

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

comment:2 Changed 11 years ago by lszyba1

Note: See TracTickets for help on using tickets.