efegokdemir opened a new pull request, #393:
URL: https://github.com/apache/maven-filtering/pull/393

   ### Rationale for this change
   
   `escapeWindowsPath()` only recognized drive-qualified paths and collapsed 
repeated backslashes, so relative Windows paths were left unescaped and 
distinct input paths could produce the same output.
   
   ### What changes are included in this PR?
   
   - Recognize relative Windows paths while retaining existing drive-qualified 
and embedded-path handling.
   - Escape every backslash without collapsing repeated separators.
   - Add regression coverage for relative and repeated-backslash paths.
   
   ### Are these changes tested?
   
   - `mvn -Dspotless.skip=true -Dtest=FilteringUtilsTest test` — passed (9 
tests)
   - `git diff --check` — passed
   
   ### Are there any user-facing changes?
   
   Yes. Relative Windows paths are now escaped consistently.
   
   Closes #355


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to