Zip icon indicating copy to clipboard operation
Zip copied to clipboard

zip filehandler does not like directories with spaces

Open kallipigous opened this issue 6 years ago • 0 comments

It's a small point but I was getting failures on the fileHandler completionblock because I had spaces in the folder name. It was an easy fix.

if let fileHandler = fileOutputHandler, let fileUrl = URL(string: fullPath.addingPercentEncoding(withAllowedCharacters: .urlQueryAllowed)!) { fileHandler(fileUrl) } it might be nice to include that in future revisions.

kallipigous avatar Feb 13 '18 14:02 kallipigous