Commit 8069b611 authored by Roy Marmelstein's avatar Roy Marmelstein Committed by GitHub

Merge pull request #145 from matuslittva/master

Whitespaces handling for fileOutputHandler.
parents 00aa4488 a40879b1
......@@ -244,7 +244,8 @@ public class Zip {
}
if let fileHandler = fileOutputHandler,
let fileUrl = URL(string: fullPath) {
let encodedString = fullPath.addingPercentEncoding(withAllowedCharacters: .urlQueryAllowed),
let fileUrl = URL(string: encodedString) {
fileHandler(fileUrl)
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment