gnodet opened a new pull request, #1958: URL: https://github.com/apache/maven-resolver/pull/1958
## Summary - Add validation in `DefaultLocalPathComposer` to reject coordinate components (groupId, artifactId, version, classifier, extension) that contain path traversal sequences (`..`) or path separator characters (`/`, `\`) before composing the local repository path. - This is consistent with the existing path validation in `FileTransporter.getPath()` (line 166). - Add `DefaultLocalPathComposerTest` with tests for normal and malformed coordinates. ## Test plan - [x] New `DefaultLocalPathComposerTest` passes (7 tests — normal paths, traversal rejection, slash rejection, backslash rejection) - [x] Existing `SimpleLocalRepositoryManagerTest` passes (3/3) - [x] Existing `EnhancedLocalRepositoryManagerTest` passes (12/12) 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- 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]
