Allow non-project relative (absolute) links again.
|Reported by:||ryank-inovonics||Owned by:||rjollos|
With the fix for #940, this plugin only allowed links relative to the Trac environment to be used. While this is handy for multiple instance setups, it does prevent the use of absolute links to resources outside the Trac environment.
The attached patch checks the provided href to see if it starts with https:, http:, or /. If it does then the URL is used in the nav bar item directly. Otherwise it is left as a link relative to the Trac environment.
Change History (11)
Changed 9 months ago by ryank-inovonics
comment:1 Changed 9 months ago by rjollos
- Owner changed from otaku42 to rjollos
- Status changed from new to assigned
comment:7 Changed 8 months ago by rjollos
- Resolution set to fixed
- Status changed from accepted to closed