summaryrefslogtreecommitdiff
path: root/tests/validators/tests.py
diff options
context:
space:
mode:
authorCarlton Gibson <carlton.gibson@noumenal.es>2021-05-04 14:44:19 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2021-05-06 07:42:45 +0200
commitfdbf4a7c1653f1e9842816ac352a3e43659e09be (patch)
tree38041ed6e64f710c206c2c1c769410b77cf4bfe0 /tests/validators/tests.py
parent48b39a8e9996ed1819254dda9d771125a0200adf (diff)
[3.1.x] Refs CVE-2021-31542 -- Skipped mock AWS storage test on Windows.
The validate_file_name() sanitation introduced in 0b79eb36915d178aef5c6a7bbce71b1e76d376d3 correctly rejects the example file name as containing path elements on Windows. This breaks the test introduced in 914c72be2abb1c6dd860cb9279beaa66409ae1b2 to allow path components for storages that may allow them. Test is skipped pending a discussed storage refactoring to support this use-case. Backport of a708f39ce67af174df90c5b5e50ad1976cec7cb8 from main
Diffstat (limited to 'tests/validators/tests.py')
0 files changed, 0 insertions, 0 deletions