diff --git a/lib/lurker/templates/javascripts/lurker.js b/lib/lurker/templates/javascripts/lurker.js index aabf9b9..58059f7 100644 --- a/lib/lurker/templates/javascripts/lurker.js +++ b/lib/lurker/templates/javascripts/lurker.js @@ -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; },