-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor the duplication of temporary files
This removes old cold of dealing with temporary files when opening and piping attachments. The patch introduces new data types for handling resources in order to be flexible enought to delete the temporary file or not after process exit. Furthermore, the patch removes any passing of commands to the shell (e.g. opening or piping). That was a very convenient way of passing additional arguments to the command which is not possible any more. However just passing arbitrary commands to the shell is inherently insecure and we better avoid it were possible. Related #276
- Loading branch information
1 parent
4f444ee
commit 4313f45
Showing
4 changed files
with
134 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters