Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 0.4.2
-
Fix Version/s: 0.5
-
Component/s: TagLib
-
Labels:None
-
Environment:HideServer version: Apache Tomcat/5.5.9
Server built: Mar 26 2005 02:21:04
Server number: 5.5.9.0
OS Name: Linux
OS Version: 2.6.16.14-grsec
Architecture: i386
JVM Version: 1.5.0_11-b03
JVM Vendor: Sun Microsystems Inc.ShowServer version: Apache Tomcat/5.5.9 Server built: Mar 26 2005 02:21:04 Server number: 5.5.9.0 OS Name: Linux OS Version: 2.6.16.14-grsec Architecture: i386 JVM Version: 1.5.0_11-b03 JVM Vendor: Sun Microsystems Inc.
Description
When deployed as the default context (ie, there is no 'site_name/' context portion), createLinkTo builds incorrect urls to the root page. Here are two examples, which appear on the page http://www.owlyshadowpuppets.com/puppet/list :
<a href="$
{createLinkTo(dir:'/')}">Home</a> creates: <a href="//">Home</a>
<a href="$
">Home</a> creates: <a href="">Home</a>
You can try the page online (for the next few days). Neither of these links is correct and they will not work in any browser to reach the home page.
fixed with ${createLinkTo(dir:'') syntax