Describe the bug
Creating a package in DejaCode from https://codeberg.org/janantos/brow6el/archive/main.tar.gz results in unexpected PURL values.
To Reproduce
Steps to reproduce the behavior:
- Go to Packages user list view
- Click on Add Package
- enter https://codeberg.org/janantos/brow6el/archive/main.tar.gz and click Add
- Note that the generated PURL is
pkg:generic/main.tar.gz?download_url=https://codeberg.org/janantos/brow6el/archive/main.tar.gz even though it correctly generates the Filename field as brow6el-main.tar.gz and it correctly records the Download URL.
Expected behavior
The Name value in the PURL should be brow6el-main-tar-gz rather than main.tar.gz
Context (OS, Browser, Device, etc.):
DejaCode v5.5.0
Describe the bug
Creating a package in DejaCode from https://codeberg.org/janantos/brow6el/archive/main.tar.gz results in unexpected PURL values.
To Reproduce
Steps to reproduce the behavior:
pkg:generic/main.tar.gz?download_url=https://codeberg.org/janantos/brow6el/archive/main.tar.gzeven though it correctly generates the Filename field asbrow6el-main.tar.gzand it correctly records the Download URL.Expected behavior
The Name value in the PURL should be
brow6el-main-tar-gzrather thanmain.tar.gzContext (OS, Browser, Device, etc.):
DejaCode v5.5.0