Opened 17 years ago
Closed 17 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)
Change History (8)
comment:1 by , 17 years ago
| Milestone: | → 0.11.4 | 
|---|---|
| Owner: | set to | 
comment:2 by , 17 years ago
That was actually #4416, and it seems I did miss the [/] link ([/something] works fine).
comment:3 by , 17 years ago
| Resolution: | → fixed | 
|---|---|
| Status: | new → closed | 
Fixed in [7930], by having Href('')() return '/' instead of ''.
comment:4 by , 17 years ago
comment:5 by , 17 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.
comment:6 by , 17 years ago
| Milestone: | 0.11.4 → 0.11.5 | 
|---|---|
| Resolution: | fixed | 
| Status: | closed → reopened | 
Mmh, you're right. Thanks for reporting.
comment:7 by , 17 years ago
| Milestone: | 0.11.5 → 0.11.4 | 
|---|---|
| Resolution: | → fixed | 
| Status: | reopened → 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.