From 87b3c6bfee9a881f7a55650eb1de2abc0fc7363c Mon Sep 17 00:00:00 2001 From: Lars Jung Date: Sat, 11 Aug 2012 02:21:12 +0200 Subject: [PATCH] Improves entry url encoding. --- src/_h5ai/js/inc/model/entry.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/_h5ai/js/inc/model/entry.js b/src/_h5ai/js/inc/model/entry.js index 954a3dfb..9df15e94 100644 --- a/src/_h5ai/js/inc/model/entry.js +++ b/src/_h5ai/js/inc/model/entry.js @@ -8,6 +8,7 @@ modulejs.define('model/entry', ['_', 'core/types', 'core/ajax', 'core/event'], f return href .replace(/\/+/g, '/') + .replace(/ /g, '%20') .replace(/'/g, '%27') .replace(/\[/g, '%5B') .replace(/\]/g, '%5D')