GH-1609 Bad metadata naming by cstamas · Pull Request #1610 · apache/maven-resolver
And hence, congestion with possible timeouts on resource. Fixes apache#1609
cstamas
changed the title
GH-1609 Bad metadata naming cause name colllaps
GH-1609 Bad metadata naming
cstamas
marked this pull request as ready for review
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters