Message336092
Sure we don't want to execute these kinds of scripts but we could mix with GetBinaryTypeW and add a check on the extensions.
for example and simplified protocode
if is_executable(path) or is_script(path):
raise ...
os.startfile(path) |
|
Date |
User |
Action |
Args |
2019-02-20 14:39:26 | matrixise | set | recipients:
+ matrixise, paul.moore, vstinner, tim.golden, zach.ware, eryksun, steve.dower, mdk |
2019-02-20 14:39:26 | matrixise | set | messageid: <1550673566.94.0.488676900588.issue36021@roundup.psfhosted.org> |
2019-02-20 14:39:26 | matrixise | link | issue36021 messages |
2019-02-20 14:39:26 | matrixise | create | |
|