As of trac 0.11, plugins should use req.href, not env.href
|Reported by:||anonymous||Owned by:||Alec Thomas|
Per email from Christian Boos to trac-users on 1/17/07:
... a plugin is using the old API for generating the URL (*).
(*) For generating URLs, one should do req.abs_href (absolute URLs) or req.href, instead of env.abs_href or env.href, as the latter will use the base_url setting. By using req methods, the protocol/hostname/base which was used by the client to access Trac will be correctly reused.