Update python/ql/src/experimental/Security-new-dataflow/CWE-022/PathInjection.ql

Co-authored-by: Rasmus Wriedt Larsen <rasmuswriedtlarsen@gmail.com>
This commit is contained in:
yoff
2020-10-23 13:35:13 +02:00
committed by GitHub
parent f88cc3c98e
commit 462e839a83

View File

@@ -1,5 +1,5 @@
/**
* The query detects the case where a path is not both normalized and _afterwards_ checked.
* The query detects cases where a user-controlled path is used in an unsafe manner, meaning it is not both normalized and _afterwards_ checked.
*
* It does so by dividing the problematic situation into two cases:
* 1. The path is never normalized.