maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Osipov (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (MSHARED-121) FilteringUtils.escapeWindowsPath doesn't handle paths that leave out the drive letter.
Date Fri, 16 Mar 2018 22:40:17 GMT

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

Michael Osipov closed MSHARED-121.
----------------------------------
    Resolution: Auto Closed

This issue has been auto closed because it has been inactive for a long period of time. If
you think this issue still applies, retest your problem with the most recent version of Maven
and the affected component, reopen and post your results.

> FilteringUtils.escapeWindowsPath doesn't handle paths that leave out the drive letter.
> --------------------------------------------------------------------------------------
>
>                 Key: MSHARED-121
>                 URL: https://issues.apache.org/jira/browse/MSHARED-121
>             Project: Maven Shared Components
>          Issue Type: Bug
>          Components: maven-filtering
>    Affects Versions: maven-filtering-1.0-beta-3
>            Reporter: John Casey
>            Priority: Major
>         Attachments: 0001-MSHARED-121-Don-t-require-a-drive-letter-to-escape-a.patch,
FilteringUtilsTest.java
>
>
> FilteringUtils.escapeWindowsPath requires a drive letter to be present in the path, or
at least the string {noformat}":\\"{noformat} to be present in order to trigger escaping the
value as a windows path.
> In cases where the path is an absolute reference to a file on the current drive (no drive
letter is included), or when the path starts with an unresolved expression (in cases where
n+1 level interpolation will eventually resolve the expression), escaping doesn't happen at
all.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message