From 9c884789841986e8788b9ea054bc63606fb389a4 Mon Sep 17 00:00:00 2001 From: gorhill Date: Fri, 4 Sep 2015 09:36:53 -0400 Subject: [PATCH] this fixes #678 --- src/js/asset-viewer.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/js/asset-viewer.js b/src/js/asset-viewer.js index 6525b4401..5585675e5 100644 --- a/src/js/asset-viewer.js +++ b/src/js/asset-viewer.js @@ -44,7 +44,13 @@ if ( !matches || matches.length !== 2 ) { return; } -messager.send({ what : 'getAssetContent', url: matches[1] }, onAssetContentReceived); +messager.send( + { + what : 'getAssetContent', + url: decodeURIComponent(matches[1]) + }, + onAssetContentReceived +); /******************************************************************************/