slachiewicz opened a new pull request, #2101:
URL: https://github.com/apache/maven-resolver/pull/2101

   The 1.9.x line predates the repository key function layer, so the split 
local repository prefix (`LocalPathPrefixComposerFactorySupport`, four sites) 
and the trusted checksums sources (`SummaryFileTrustedChecksumsSource`, 
`SparseDirectoryTrustedChecksumsSource`) splice the raw repository id into 
paths. This routes those ids through `PathUtils.stringToPathSegment` and 
validates the result, matching the 2.x behaviour after #2089 and #2099. Also 
ports `GAECVNameMapperTest` from master; `GAECVNameMapper` itself needed no 
change since it inherits the earlier `fieldToSegment` handling from 
`GAVNameMapper`.
   
   Repository ids that are exactly `.`/`..` or contain path separators now 
compose to a neutralized segment (e.g. `-DOTDOT-`) instead of being spliced 
verbatim; well-formed ids are unaffected.
   
   Verified: `mvn -pl maven-resolver-impl -am test` on JDK 17 → 379 tests, 0 
failures.
   
   *This change was created with AI assistance.*


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