Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Duplicate
-
Affects Version/s: 2.0-beta-5
-
Fix Version/s: None
-
Component/s: relative links
-
Labels:None
-
Number of attachments :
Description
I added the following poweredBy Item to my site:
<poweredBy>
<logo name="Apache Velocity"
href="http://velocity.apache.org"
img="/images/pbv90x30.png" />
</poweredBy>
This gets rendered out to
<a href="" title="Apache Velocity" id="poweredBy">
<img alt="Apache Velocity" src="images/pbv90x30.png" />
</a>
The href link is empty. When debugging, it seems that any URL given to the logo href attribute gets silently removed. Using href="foobar" works, href="http://www.apache.org/" does not.
Attachments
Issue Links
| This issue duplicates: | ||||
| MSITE-159 | Absolute URI rendered as relative URI if absolute URI related to domain of POM URI |
|
|
|
I guess that you have this in your pom as well:
<url>http://velocity.apache.org</url>
This has to do with the converting of absolute URL:s to relative links.