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 #1939 (closed defect: fixed)

Opened 9 years ago

Last modified 9 years ago

[PATCH] server.webpath ignored in relative redirects and login form

Reported by: chrisz Owned by: anonymous
Priority: normal Milestone: 1.0.x bugfix
Component: TurboGears Version: 1.0.5
Severity: normal Keywords:
Cc:

Description

When you set server.webpath, then the identity login form does not work correctly, since it does not use tg.url for its action url.

Also, turbogears.redirect will not work with relative paths, since it relays the redirect to cherrypy without altering the path for a relative url, but cherrypy doesn't know about server.webpath.

These seem to be known bugs (cf.  http://docs.turbogears.org/1.0/BehindIIS), but they are easy to fix with the attached patch.

Attachments

webpath.patch Download (1.6 KB) - added by chrisz 9 years ago.
Fixes two problems with server.webpath

Change History

Changed 9 years ago by chrisz

Fixes two problems with server.webpath

comment:1 Changed 9 years ago by chrisz

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

Fixed in r5145.

Note: See TracTickets for help on using tickets.