You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Marat Saitov (Jira)" <ji...@apache.org> on 2020/02/19 13:17:00 UTC

[jira] [Comment Edited] (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:comment-tabpanel&focusedCommentId=17040009#comment-17040009 ] 

Marat Saitov edited comment on DOXIASITETOOLS-109 at 2/19/20 1:16 PM:
----------------------------------------------------------------------

I think it's the same thing as in the ticket DOXIASITETOOLS-110 and DOXIASITETOOLS-112


was (Author: mtsv):
I think it's the same thing as in the ticket DOXIASITETOOLS-110

 

> 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)