You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Hervé Boutemy (JIRA)" <ji...@apache.org> on 2015/10/11 09:33:05 UTC
[jira] [Created] (DOXIATOOLS-51) DefaultSiteTool.getRelativePath
returns nonsense if urls do not share DNS name
Hervé Boutemy created DOXIATOOLS-51:
---------------------------------------
Summary: DefaultSiteTool.getRelativePath returns nonsense if urls do not share DNS name
Key: DOXIATOOLS-51
URL: https://issues.apache.org/jira/browse/DOXIATOOLS-51
Project: Maven Doxia Tools
Issue Type: Bug
Components: Doxia Integration Tools
Affects Versions: doxia-integration-tools-1.6
Reporter: Hervé Boutemy
see MSITE-750
relative path
from {{dav:https://nexus1.mysite.net:123/nexus/content/sites/site/mysite-parent/1.0.0/}}
to {{dav:https://nexus2.mysite.net:123/nexus/content/sites/site/mysite-child/2.0.0/}} (notice nexus2 vs nexus1 in DNS name)
returns {{../../../../../../../nexus2.mysite.net:123/nexus/content/sites/site/mysite-child/2.0.0}}
I don't know what's the best to do (fail?), since no relative path can be calculated safely
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)