Skip to content

TagSpaces is an offline, open source, document manager with tagging support

fixing issue preventing creating new files

Ilian Sapundshievbeb8e7d3bb3e
diff --git a/data/cordova/cordova.api.js b/data/cordova/cordova.api.js
index 586c5286e..565169219 100644
--- a/data/cordova/cordova.api.js
+++ b/data/cordova/cordova.api.js
@@ -606,7 +606,6 @@ define(function(require, exports, module) {
*/
function saveFilePromise(filePath, content, overWrite, isRaw) {
console.log("Saving file: " + filePath);
- filePath = encodeURI(filePath); // TODO check if really needed, saving files with % in the path still fails
return new Promise(function(resolve, reject) {
var isFileNew = true;
filePath = normalizePath(filePath);