Describe the bug
When adding a Docker source, the URL schema seems to be case sensitive, and if it is not exactly as docker://, it fails, but does not explain why.
System configuration
- Which version of ScanCode.io are you running? v32.7.0
- Are you running the app using Docker? yes
- On which OS? Linux
- What inputs are you using? docker
- Which pipeline are you running? docker
To Reproduce
Steps to reproduce the behavior:
- start a new scan
- add a Docker resource and do a case typo by writing e.g.
Docker://postgres:12.17-alpine3.19
- fill in everything else correctly and set the pipeline to
docker
- start the scan
- see error
Expected behavior
Either:
a) not have the schema part of the URL case sensitive, and just finish the scan; or
b) return an error, where it explains the issue was the case
Describe the bug
When adding a Docker source, the URL schema seems to be case sensitive, and if it is not exactly as
docker://, it fails, but does not explain why.System configuration
To Reproduce
Steps to reproduce the behavior:
Docker://postgres:12.17-alpine3.19dockerExpected behavior
Either:
a) not have the schema part of the URL case sensitive, and just finish the scan; or
b) return an error, where it explains the issue was the case