Skip to content

Commit b620b9b

Browse files
committed
Python: Fixup CWE-022 tests
This was a bit of a mess, since there was crosstalk between the TarSlip and PathInjection queries. (Also one of these needs the `options` file to be in one way, and the other not). To fix this, I split these out into separate directories.
1 parent af7626a commit b620b9b

File tree

12 files changed

+0
-68
lines changed

12 files changed

+0
-68
lines changed

python/ql/test/experimental/query-tests/Security-new-dataflow/CWE-022/PathInjection.qlref

Lines changed: 0 additions & 1 deletion
This file was deleted.

python/ql/test/experimental/query-tests/Security-new-dataflow/CWE-022/PathInjection.expected renamed to python/ql/test/query-tests/Security/CWE-022-PathInjection/PathInjection.expected

File renamed without changes.

python/ql/test/query-tests/Security/CWE-022/PathInjection.qlref renamed to python/ql/test/query-tests/Security/CWE-022-PathInjection/PathInjection.qlref

File renamed without changes.

python/ql/test/experimental/query-tests/Security-new-dataflow/CWE-022/path_injection.py renamed to python/ql/test/query-tests/Security/CWE-022-PathInjection/path_injection.py

File renamed without changes.

python/ql/test/experimental/query-tests/Security-new-dataflow/CWE-022/test.py renamed to python/ql/test/query-tests/Security/CWE-022-PathInjection/test.py

File renamed without changes.

python/ql/test/experimental/query-tests/Security-new-dataflow/CWE-022/test_chaining.py renamed to python/ql/test/query-tests/Security/CWE-022-PathInjection/test_chaining.py

File renamed without changes.

python/ql/test/query-tests/Security/CWE-022/TarSlip.expected renamed to python/ql/test/query-tests/Security/CWE-022-TarSlip/TarSlip.expected

File renamed without changes.

python/ql/test/query-tests/Security/CWE-022/TarSlip.qlref renamed to python/ql/test/query-tests/Security/CWE-022-TarSlip/TarSlip.qlref

File renamed without changes.

python/ql/test/query-tests/Security/CWE-022/options renamed to python/ql/test/query-tests/Security/CWE-022-TarSlip/options

File renamed without changes.

python/ql/test/query-tests/Security/CWE-022/tarslip.py renamed to python/ql/test/query-tests/Security/CWE-022-TarSlip/tarslip.py

File renamed without changes.

0 commit comments

Comments
 (0)