SAP / fosstars-rating-core

A framework for defining ratings for open source projects. In particular, the framework offers a security rating for open source projects that may be used to assess the security risk that comes with open source components.
https://sap.github.io/fosstars-rating-core/
Apache License 2.0
60 stars 27 forks source link

MavenScmFinder fails to parse the SCM urls containing `-` in their path #848

Closed Sachpat closed 2 years ago

Sachpat commented 2 years ago

For the SCM Urls like git@github.com:codelibs/elasticsearch-module.git which contain - in the path, the MavenScmFinder fails with the exceptions like: Oh no!!! The git@github.com:codelibs/elasticsearch-module.git is not parseable. This is because of the faulty RegEx used here which doesn't allow characters like - in the path