aboutcode-org / aboutcode-org/dejacode

Construction of an Inferred URL for a Package is dropping the plus sign

Abierto
#181 3 comentarios 0 reacciones 1 asignado Reclamado por @tdruez Ver en GitHub
bug
Lenguaje dominante
Python
Estrellas
50
Forks
27
Merge medio
4 h 51 min
PR fusionados (30 d)
11

Descripción

Adding the Package available at https://github.com/facebook/sapling/archive/refs/tags/0.2.20240718-145624+f4e9df48.tar.gz to DejaCode is generally successful, but there is a problem with the Inferred URL:

Package URL: pkg:github/facebook/sapling@0.2.20240718-145624%20f4e9df48
Filename: sapling-0.2.20240718-145624-f4e9df48.tar.gz
Download URL: https://github.com/facebook/sapling/archive/refs/tags/0.2.20240718-145624+f4e9df48.tar.gz
Inferred URL: https://github.com/facebook/sapling/tree/0.2.20240718-145624 f4e9df48

Note that the Inferred URL has a gap (space) where there ought to be a `+` (plus) sign.
If you click on it in the DejaCode user UI you get a 404.
If you copy the whole thing, and edit it to restore the `+` then you get the intended repo page.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.