TitleSwitching between using and not using base url breaks links
Date13-Aug-2005 16:41:36 EEST
Version2.2.28
SubmitterErikAlm
Bug criticalityClosedBug
Browser versionFirefox 1.0.6
Bug statusClosedBug
PageProvider usedVersioningFileProvider
Servlet ContainerTomcat 5.5.9
Operating SystemLinux 2.6.8.1-12mdk
URL
Java version1.5.0_03

If you are using a baseUrl and then decide not to, the wiki will break by showing page urls like:

http://localhost:8080/cwiki/nullTDIA
It appears the wiki/ part of the url has been replaced by null (the correct url should read: http://localhost:8080/cwiki/wiki/TDIA).

The only viable workaround is to use baseUrl again (for instance, in this case set to http://localhost:8080/cwiki/), however, since the bug appears, something is wrong and might, unchecked, have larger consequences!


You must not use the ShortURLConstructors if you have not set the BaseURL. BaseURL is practically mandatory - use jspwiki.referenceStyle = relative, if you want to have relative URLs. However, a null should not appear, though.

Sort of fixed in 2.2.32.

-- JanneJalkanen

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-3) was last changed on 16-Oct-2005 14:06 by Administrator