Modify ↓
Opened 19 years ago
Closed 19 years ago
#1109 closed defect (duplicate)
As of trac 0.11, plugins should use req.href, not env.href
| Reported by: | anonymous | Owned by: | Alec Thomas |
|---|---|---|---|
| Priority: | normal | Component: | TagsPlugin |
| Severity: | normal | Keywords: | |
| Cc: | garyo@… | Trac Release: | 0.11 |
Description
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.
Attachments (0)
Change History (2)
comment:1 Changed 19 years ago by
| Cc: | garyo@… added; anonymous removed |
|---|
comment:2 Changed 19 years ago by
| Resolution: | → duplicate |
|---|---|
| Status: | new → closed |
Note: See
TracTickets for help on using
tickets.



Duplicate of #1100.