diff options
author | gorhill <rhill@raymondhill.net> | 2015-09-04 09:36:53 -0400 |
---|---|---|
committer | gorhill <rhill@raymondhill.net> | 2015-09-04 09:36:53 -0400 |
commit | 9c884789841986e8788b9ea054bc63606fb389a4 (patch) | |
tree | bd1c930fba806b69bf077ee9922af16ff4649a23 /src/js | |
parent | c21a91d318760d0e3293b4e04271c8e4e2752a1f (diff) | |
download | uBlock-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.js | 8 |
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 +); /******************************************************************************/ |