On login/logout, only redirect to the referer if the referer is part of the same Trac instance. Fixes #482.
Authored by: cmlenz 2004-08-23
Parent: [r864]
Child: [r866]