mirror of
https://github.com/aquasecurity/trivy.git
synced 2026-02-02 23:03:26 +08:00
fix(python): add package name and version validation for requirements.txt files. (#6804)
This commit is contained in:
5
pkg/dependency/parser/python/pip/testdata/requirements_with_templating_engine.txt
vendored
Normal file
5
pkg/dependency/parser/python/pip/testdata/requirements_with_templating_engine.txt
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
%ifcookiecutter.command_line_interface|lower=='click'-%}
|
||||
foo|bar=='1.2.4'
|
||||
foo{bar}==%%
|
||||
foo,bar&&foobar==1.2.3
|
||||
foo=='invalid-version'
|
||||
Reference in New Issue
Block a user