Invalid purl leads to an error
prabhu opened this issue · comments
prabhu commented
When the purl is invalid, example: "pkg:gem/remote:@https:%2F%2Frubygems.org%2F"
, it results in an error as shown.
INFO [2024-01-03 21:30:12,583] Performing regular scan for redmine using plugin docker
Traceback (most recent call last):
File "depscan/cli.py", line 1146, in <module>
File "depscan/cli.py", line 1066, in main
File "depscan/cli.py", line 334, in scan
File "depscan/lib/utils.py", line 243, in search_pkgs
File "vdb/lib/db.py", line 228, in bulk_index_search
AttributeError: 'NoneType' object has no attribute 'lower'
[15733] Failed to execute script 'cli' due to unhandled exception!