Commit a40879b1 authored by Matus Littva's avatar Matus Littva

Whitespaces handling for fileOutputHandler.

parent be01e413
...@@ -230,7 +230,8 @@ public class Zip { ...@@ -230,7 +230,8 @@ public class Zip {
} }
if let fileHandler = fileOutputHandler, if let fileHandler = fileOutputHandler,
let fileUrl = URL(string: fullPath) { let encodedString = fullPath.addingPercentEncoding(withAllowedCharacters: .urlQueryAllowed),
let fileUrl = URL(string: encodedString) {
fileHandler(fileUrl) 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