Browse Source

Properly encode query string parameters.

pull/65/head
Lapo Luchini 10 years ago
parent
commit
e2f61176dd
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      pinry/static/js/bookmarklet.js

+ 1
- 1
pinry/static/js/bookmarklet.js View File

@@ -84,7 +84,7 @@ function main() {
'border': '1px solid #555' 'border': '1px solid #555'
}); });
$(image).click(function() { $(image).click(function() {
var popUrl = getFormUrl()+imageUrl;
var popUrl = getFormUrl()+encodeURIComponent(imageUrl);
window.open(popUrl); window.open(popUrl);
$('#pinry-images').remove(); $('#pinry-images').remove();
}); });


Loading…
Cancel
Save