Ticket #8059 (closed defect: fixed)
Opened 3 years ago
Last modified 3 years ago
Server-relative links do not work correctly in one-project setup
| Reported by: | Mitar | Owned by: | rblank |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.11.4 |
| Component: | general | Version: | 0.11.2.1 |
| Severity: | normal | Keywords: | |
| Cc: | mmitar@… | ||
| Release Notes: | |||
| API 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
Change History
comment:1 Changed 3 years ago by rblank
- Milestone set to 0.11.4
- Owner set to rblank
comment:2 Changed 3 years ago by rblank
That was actually #4416, and it seems I did miss the [/] link ([/something] works fine).
comment:3 Changed 3 years ago by rblank
- Resolution set to fixed
- Status changed from new to closed
Fixed in [7930], by having Href('')() return '/' instead of ''.
comment:4 Changed 3 years ago by rblank
comment:5 Changed 3 years ago by Jennifer Drummond <jenn@…>
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.
Changed 3 years ago by Jennifer Drummond <jenn@…>
- Attachment bad-link-label.png added
From TracLinks on t.e.o.
comment:6 Changed 3 years ago by rblank
- Milestone changed from 0.11.4 to 0.11.5
- Resolution fixed deleted
- Status changed from closed to reopened
Mmh, you're right. Thanks for reporting.
comment:7 Changed 3 years ago by rblank
- Milestone changed from 0.11.5 to 0.11.4
- Resolution set to fixed
- Status changed from reopened to closed
False alarm, actually the example on the TracLinks page was bad. Fixed in TracLinks@69.



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