Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle files with spaces correctly in encoding_for
When passed a file name with a space, we end up calling `file` without escaping the spaces (and other special characters). This most likely causes calling `file` on a nonexistent file. The upload then appears to hang, and eventually the job is terminated. This commit fixes that.
- Loading branch information
Showing
2 changed files
with
8 additions
and
2 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