Skip to content

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

encode path

Borislav Sapundzhievff06cbdb188f
diff --git a/data/ext/perspectiveGrid/perspectiveUI.js b/data/ext/perspectiveGrid/perspectiveUI.js
index b14531432..4873ebd41 100644
--- a/data/ext/perspectiveGrid/perspectiveUI.js
+++ b/data/ext/perspectiveGrid/perspectiveUI.js
@@ -103,7 +103,7 @@ define(function(require, exports, module) {
title: title,
tags: [],
selected: isSelected ? "fa-check-square" : "fa-square-o",
- thumbPath: metaObj.thumbnailPath
+ thumbPath: encodeURI(metaObj.thumbnailPath)
};
if (fileTags.length > 0) {