OpenSSF Scorecard report viewer does not handle nested gitlab groups correctly
Closed this issue · 1 comments
stexandev commented
Describe the bug
When trying to display the result of a scan for a gitlab repository that uses multi-level groups, the result can not be retrieved because the current implementation (split on "/") only respects the first three parts of the URL.
Reproduction steps
Steps to reproduce the behavior:
- Load a result for a repo with multi-level groups into the viewer, e.g. `/index.html?uri=gitlab.gwdg.de%2Fsubugoe%2Femo%2Ftido
- The result the viewer tries to fetch then is for
gitlab.gwdg.de/subugoe/emo
Expected behavior
It is exspected that the viewer can handle multi-level groups and shows the results for such repos.
Additional context
Add any other context about the problem here.
stexandev commented
Sorry, this went into the wrong repo.