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

   ## Summary
   
   - Normalize implicit HTTP and HTTPS ports in the Apache transport 
authentication cache so entries created from a repository URL match requests 
using the effective default port.
   - Preserve explicit ports and schemes, keeping authentication scoped to the 
same origin.
   
   Fixes apache/maven#13383
   
   ## Testing
   
   - `mvn -pl maven-resolver-transport-apache -am 
-Dtest=ApacheTransporterTest#testConcurrentAuthCacheMatchesImplicitDefaultPort 
-Dsurefire.failIfNoSpecifiedTests=false test` — passed.
   - `mvn -pl maven-resolver-transport-apache -am test` — passed (all selected 
reactor tests; Apache transport: 144 tests, 6 skipped).
   - `mvn -pl maven-resolver-transport-apache -am spotless:check` — passed.
   - `git diff --check` — passed.
   - The regression test failed on the original implementation for both HTTP/80 
and HTTPS/443 (cache lookup returned `null`) and passed after the fix.
   
   AI assistance: Codex assisted with analysis, implementation, and validation. 
The change was reviewed locally, and the commit includes DCO sign-off.
   
   ---
   
   To make clear that you license your contribution under the
   [Apache License Version 2.0, January 
2004](https://www.apache.org/licenses/LICENSE-2.0)
   check one of the following:
   
   - [x] I hereby declare this contribution to be licensed under the [Apache 
License Version 2.0, January 2004](https://www.apache.org/licenses/LICENSE-2.0)
   - [ ] I hereby declare that I have filed an [Apache Individual Contributor 
License Agreement](https://www.apache.org/licenses/icla.pdf).
   


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