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)

Reply via email to