Changes between Version 1 and Version 2 of Ticket #32725
- Timestamp:
- May 7, 2021, 6:31:24 AM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #32725 – Description
v1 v2 4 4 But it's stricter than that: any path component causes the path to be rejected: 5 5 6 ``` 6 {{{ 7 7 if name != os.path.basename(name): 8 8 raise SuspiciousFileOperation("File name '%s' includes path elements" % name) 9 ``` 9 }}} 10 10 11 11 12 Is this level of strictness necessary?