Skip to content

Commit

Permalink
Merge pull request #103 from nebolsin/bugfix/encode-url-params
Browse files Browse the repository at this point in the history
Encode URL parameters
  • Loading branch information
razum2um committed Jun 25, 2015
2 parents 5887b3e + 31b09e1 commit a31d72d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/lurker/templates/javascripts/lurker.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
buildActionUrl: function(host, template, values) {
for (var i = 0; i < values.length; i++) {
var placeholder = new RegExp(':' + values[i].label);
template = template.replace(placeholder, values[i].value);
template = template.replace(placeholder, encodeURIComponent(values[i].value));
}
return host + template;
},
Expand Down

0 comments on commit a31d72d

Please sign in to comment.