Modify

Opened 18 years ago

Closed 18 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 18 years ago by anonymous

Cc: garyo@… added; anonymous removed

comment:2 Changed 18 years ago by Alec Thomas

Resolution: duplicate
Status: newclosed

Duplicate of #1100.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Alec Thomas.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.