-
Committer:
James Lu
-
Date:
2017-09-10 18:05:57 UTC
-
Revision ID:
james@overdrivenetworks.com-20170910180557-jhgflei9nys7lwm7
Fix shell injection on deleting to trash via specially crafted filenames
Rewrite this code in subprocess.call (which doesn't spawn a shell by default), and explicitly check whether trash programs are installed before running them.