mirror of
https://github.com/YunoHost/package_linter.git
synced 2024-09-03 20:06:12 +02:00
Promote path traversal issue detection to error instead of warning
This commit is contained in:
parent
16bb33b884
commit
450249197b
1 changed files with 1 additions and 1 deletions
|
@ -211,7 +211,7 @@ class App():
|
||||||
yield location
|
yield location
|
||||||
|
|
||||||
for location in find_path_traversal_issue(nginxconf):
|
for location in find_path_traversal_issue(nginxconf):
|
||||||
print_warning(
|
print_error(
|
||||||
"The nginx configuration (especially location %s) "
|
"The nginx configuration (especially location %s) "
|
||||||
"appears vulnerable to path traversal issues as explained in\n"
|
"appears vulnerable to path traversal issues as explained in\n"
|
||||||
" https://www.acunetix.com/vulnerabilities/web/path-traversal-via-misconfigured-nginx-alias/\n"
|
" https://www.acunetix.com/vulnerabilities/web/path-traversal-via-misconfigured-nginx-alias/\n"
|
||||||
|
|
Loading…
Reference in a new issue