Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
transfers: Always remove existing files before beginning a transfer.
The user must approve overwriting, or they've must have allowed it via preferences. Either way, if we've made it this far, we can get rid of existing files before starting the transfer. This eliminates the risk of any existing symbolic directory links potentially being followed outside of the download directory, which would not be detected by 5244c33.
- Loading branch information
Showing
1 changed file
with
12 additions
and
14 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