Modify ↓
#5414 closed defect (fixed)
redirectfrom rooting incorrect
Reported by: | Mark Potter | Owned by: | Martin Scharrer |
---|---|---|---|
Priority: | normal | Component: | ServerSideRedirectPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
Scenario:
- Trac installed under Apache, accesable under
http://host/trac
. - There exists a wiki page SourcePage with a simple redirect of
[[redirect(wiki:TargetPage)]]
After the redirection takes place to TargetPage:
- With ServerSideRedirectPlugin enabled and TracRedirect disabled I am currently getting a URL of
http://host/trac/wiki/TargetPage?redirectedfrom=/wiki/SourcePage
- With ServerSideRedirectPlugin disabled and TracRedirect enabled I am currently getting a URL of
http://host/trac/wiki/TargetPage?redirectedfrom=SourcePage
with "Redirected from SourcePage" link on the page which correctly takes one back tohttp://host/trac/wiki/SourcePage
. - With both ServerSideRedirectPlugin and TracRedirect enabled I am currently getting a URL of
http://host/trac/wiki/TargetPage?redirectedfrom=/wiki/SourcePage
; however with a "Redirected from /wiki/SourcePage" link on the page which incorrectly takes one tohttp://host/trac/wiki/wiki/SourcePage
I assume this issue is caused by my Trac installation not being rooted at http://host/
but at http://host/trac/
.
Attachments (0)
Change History (2)
comment:1 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 15 years ago by
Please use revision [6807] or later, which fixes some minor related problems.
Note: See
TracTickets for help on using
tickets.
Fixed in [6801]: Removed the
/wiki/
fromredirectedfrom
.