[Trac logo]

Project: Trac

Revision: 7493

Author: rblank

Date: 21 Aug 2008 15:44:31

Diff at Trac: http://trac.edgewall.org/changeset/7493

Changes:

0.11-stable: Added an optional `referer=` argument to `/login` to specify the URL to redirect to instead of using the `Referer:` HTTP header.

This is the non-controversial part of the patch to solve #5340. The code was mostly copied from th:AccountManagerPlugin, which already implements this functionality.

This also fixes a small typo in `trac/web/href.py`.

Files:
modified: /branches/0.11-stable/trac/web/api.py (try)
modified: /branches/0.11-stable/trac/web/auth.py (try)
modified: /branches/0.11-stable/trac/web/href.py (try)
Diff: To list