Ticket #1939 (closed defect: fixed)

Opened 3 months ago

Last modified 3 months ago

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

Reported by: chrisz Assigned to: 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 (1.6 kB) - added by chrisz on 08/13/08 14:38:29.
Fixes two problems with server.webpath

Change History

08/13/08 14:38:29 changed by chrisz

  • attachment webpath.patch added.

Fixes two problems with server.webpath

08/13/08 17:57:11 changed by chrisz

  • status changed from new to closed.
  • resolution set to fixed.

Fixed in r5145.