GH-1609 Bad metadata naming by cstamas · Pull Request #1610 · apache/maven-resolver

@cstamas

And hence, congestion with possible timeouts on resource.

Fixes apache#1609

@cstamas self-assigned this

Oct 1, 2025

@cstamas cstamas changed the title GH-1609 Bad metadata naming cause name colllaps GH-1609 Bad metadata naming

Oct 1, 2025

@cstamas

@cstamas

@cstamas

@cstamas cstamas marked this pull request as ready for review

October 3, 2025 08:43

gnodet

gnodet

@cstamas

Lock names by def should be flat, not follow same layout
as local repo paths.

@cstamas

We already had means to "make sure string is valid for path segment",
but it was buried in RepositoryIdHelper.

Pull it out, and make it reusable, as this is essentially very
same use case. Also, the "expensive" method really punishes
ONLY non maven metadata, and those should be few only.