Fossil SCM

The baseurl parameter must be used in submenus of web-interface

Closed

2bda0f13c6549c8… · opened 15 years, 10 months ago

Type
Code_Defect
Priority
Severity
Important
Resolution
Unable_To_Reproduce
Subsystem
Created
May 23, 2010 9:09 p.m.

Main menu items use "baseurl" parameter for links as "$baseurl/dir". But submenus does not use this. So when fossil repository is placed into subdir (as example /src like to sqlite.org) we see the right links in main menu:

...

http://sqlite.mobigroup.ru/src/wiki

...

but wrong links in submenu:

http://sqlite.mobigroup.ru/wikiappend?name=sqlite3-rdiff

http://sqlite.mobigroup.ru/wikiedit?name=utils

And on page http://sqlite.mobigroup.ru/src/wiki we see wrong links like to

http://sqlite.mobigroup.ru/wiki?name=sqlite3-rdiff

P.S. The site is hosted on Debian Squeeze host with fossil from debian repository.

Comments (1)

gergely 11 years, 5 months ago

The (almost?) same problem exists on my CentOS host with fossil version just downloaded from the site (http://www.fossil-scm.org/download/fossil-linux-x86-20140612172556.zip). I currently have no option to test with latest sources; if I can, I will attach my findings here.

Navigating to http://gergely.polonkai.eu/fossil/astrognome redirects to /fossil/index instead of /fossil/astrognome/index. The login page link also has the same bug.

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button