Skip to content
This repository has been archived by the owner on Jun 16, 2021. It is now read-only.

Commit

Permalink
decodeURIComponent on decoding json param
Browse files Browse the repository at this point in the history
  • Loading branch information
umbrae committed Jan 5, 2012
1 parent 459fee9 commit 20f0aa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c/js/jsl.interactions.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 20f0aa1

Please sign in to comment.