You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Elliotte Rusty Harold (Jira)" <ji...@apache.org> on 2019/12/20 14:49:00 UTC
[jira] [Updated] (DOXIASITETOOLS-109)
DefaultSiteTool.getRelativePath returns nonsense if urls do not share DNS
name
[ https://issues.apache.org/jira/browse/DOXIASITETOOLS-109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Elliotte Rusty Harold updated DOXIASITETOOLS-109:
-------------------------------------------------
Priority: Minor (was: Major)
> 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
> Priority: Minor
>
> 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)