This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author matrixise
Recipients eryksun, matrixise, mdk, paul.moore, steve.dower, tim.golden, vstinner, zach.ware
Date 2019-02-20.14:39:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1550673566.94.0.488676900588.issue36021@roundup.psfhosted.org>
In-reply-to
Content
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)
History
Date User Action Args
2019-02-20 14:39:26matrixisesetrecipients: + matrixise, paul.moore, vstinner, tim.golden, zach.ware, eryksun, steve.dower, mdk
2019-02-20 14:39:26matrixisesetmessageid: <1550673566.94.0.488676900588.issue36021@roundup.psfhosted.org>
2019-02-20 14:39:26matrixiselinkissue36021 messages
2019-02-20 14:39:26matrixisecreate