Closed Ruud-cb closed 3 years ago
Hi, We have a lot of svg's that, unfortunately, contain spaces in there file names (loaded from external packages). This results in 404 not found errors. In this section I added some code https://github.com/oracle/cordova-plugin-wkwebview-file-xhr/blob/master/src/ios/CDVWKWebViewFileXhr.m#L132
uri = [uri stringByReplacingOccurrencesOfString:@" " withString:@"%20"];
Perhaps you want to add this and some other modifications.
I would recommend you to use encodeURI api in javascript to handle filename with spaces.
Hi, We have a lot of svg's that, unfortunately, contain spaces in there file names (loaded from external packages). This results in 404 not found errors. In this section I added some code https://github.com/oracle/cordova-plugin-wkwebview-file-xhr/blob/master/src/ios/CDVWKWebViewFileXhr.m#L132
Perhaps you want to add this and some other modifications.