Uploaded image for project: 'Maven Shared Components'
  1. Maven Shared Components
  2. MSHARED-121

FilteringUtils.escapeWindowsPath doesn't handle paths that leave out the drive letter.

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Auto Closed
    • maven-filtering-1.0-beta-3
    • None
    • maven-filtering
    • None

    Description

      FilteringUtils.escapeWindowsPath requires a drive letter to be present in the path, or at least the string

      ":\\"

      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.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            jdcasey John Dennis Casey
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment