Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Testcase included:yes
-
Number of attachments :
Description
Urls in the site.xml file are being rewritten if they contain the hostname of the project url. For example:
pom.xml:
<url>http://208.75.85.243</url>
...
<site>
<id>test.site</id>
<url>file:///srv/www/test/site</url>
</site>
...
site.xml:
<item name="About" href="http://208.75.85.243/index.html" />
Results in the following link for the About page which is incorrect and includes the deployment location instead of the url:
http://208.75.85.243/test/site/index.html
Attachments
Issue Links
| This issue duplicates: | ||||
| MSITE-159 | Absolute URI rendered as relative URI if absolute URI related to domain of POM URI |
|
|
|
The rewriting of URLs is intended. However the links do not contain the deploy location. If you have a look at the source of the generated html files you will see that the URLs have been rewritten so that they are relative.