Edgewall Software
Modify

Opened 15 years ago

Closed 15 years ago

#8059 closed defect (fixed)

Server-relative links do not work correctly in one-project setup

Reported by: Mitar Owned by: Remy Blank
Priority: normal Milestone: 0.11.4
Component: general Version: 0.11.2.1
Severity: normal Keywords:
Cc: mmitar@… Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Server-relative links do not work correctly in one-project setup as it can be also seen on Trac wiki:

http://trac.edgewall.org/wiki/TracLinks#Server-relativelinks

Example link to "home" points back to /wiki/TracLinks and not to /.

Attachments (1)

bad-link-label.png (1.2 KB ) - added by Jennifer Drummond <jenn@…> 15 years ago.
From TracLinks on t.e.o.

Download all attachments as: .zip

Change History (8)

comment:1 by Remy Blank, 15 years ago

Milestone: 0.11.4
Owner: set to Remy Blank

Good catch. I thought I had tested all variants as part of #6884, but it looks like I missed something.

comment:2 by Remy Blank, 15 years ago

That was actually #4416, and it seems I did miss the [/] link ([/something] works fine).

comment:3 by Remy Blank, 15 years ago

Resolution: fixed
Status: newclosed

Fixed in [7930], by having Href('')() return '/' instead of ''.

comment:4 by Remy Blank, 15 years ago

[7930] unfortunately had some unexpected side-effects (see #8153). A less disruptive fix was applied in [7988].

comment:5 by Jennifer Drummond <jenn@…>, 15 years ago

That bit of help on t.e.o. still seems to have a problem…shouldn't the display be

Create a new ticket home

…rather than…

newticket home

? I'll attach a screenshot of what I'm seeing.

by Jennifer Drummond <jenn@…>, 15 years ago

Attachment: bad-link-label.png added

From TracLinks on t.e.o.

comment:6 by Remy Blank, 15 years ago

Milestone: 0.11.40.11.5
Resolution: fixed
Status: closedreopened

Mmh, you're right. Thanks for reporting.

comment:7 by Remy Blank, 15 years ago

Milestone: 0.11.50.11.4
Resolution: fixed
Status: reopenedclosed

False alarm, actually the example on the TracLinks page was bad. Fixed in TracLinks@69.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Remy Blank.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Remy Blank to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.