Permalink
Browse files

decodeURIComponent on decoding json param

  • Loading branch information...
1 parent 459fee9 commit 20f0aa1527f81830e096067fe2a085e813fce6e6 @umbrae committed Jan 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 c/js/jsl.interactions.js
View
2 c/js/jsl.interactions.js
@@ -88,7 +88,7 @@ jsl.interactions = (function () {
function getURLParameter(name) {
param = (new RegExp(name + '=' + '(.+?)(&|$)').exec(location.search) || ['', null])[1];
if (param) {
- return decodeURI(param);
+ return decodeURIComponent(param);
} else {
return null;
}

0 comments on commit 20f0aa1

Please sign in to comment.