[ 
https://issues.apache.org/jira/browse/DOXIASITETOOLS-109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Elliotte Rusty Harold resolved DOXIASITETOOLS-109.
--------------------------------------------------
    Resolution: Fixed

> DefaultSiteTool.getRelativePath returns nonsense if urls do not share DNS name
> ------------------------------------------------------------------------------
>
>                 Key: DOXIASITETOOLS-109
>                 URL: https://issues.apache.org/jira/browse/DOXIASITETOOLS-109
>             Project: Maven Doxia Sitetools
>          Issue Type: Bug
>          Components: Integration Tools
>    Affects Versions: doxia-integration-tools-1.6
>            Reporter: Herve Boutemy
>            Assignee: Elliotte Rusty Harold
>            Priority: Minor
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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
(v8.3.4#803005)

Reply via email to