aboutsummaryrefslogtreecommitdiffstats
path: root/src/js
diff options
context:
space:
mode:
authorgorhill <rhill@raymondhill.net>2015-09-04 09:36:53 -0400
committergorhill <rhill@raymondhill.net>2015-09-04 09:36:53 -0400
commit9c884789841986e8788b9ea054bc63606fb389a4 (patch)
treebd1c930fba806b69bf077ee9922af16ff4649a23 /src/js
parentc21a91d318760d0e3293b4e04271c8e4e2752a1f (diff)
downloaduBlock-9c884789841986e8788b9ea054bc63606fb389a4.zip
uBlock-9c884789841986e8788b9ea054bc63606fb389a4.tar.gz
uBlock-9c884789841986e8788b9ea054bc63606fb389a4.tar.bz2
this fixes #678
Diffstat (limited to 'src/js')
-rw-r--r--src/js/asset-viewer.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/js/asset-viewer.js b/src/js/asset-viewer.js
index 6525b44..5585675 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
+);
/******************************************************************************/