mirror of
https://github.com/pinry/pinry.git
synced 2026-01-25 00:29:23 +01:00
Properly encode query string parameters.
This commit is contained in:
@@ -84,7 +84,7 @@ function main() {
|
||||
'border': '1px solid #555'
|
||||
});
|
||||
$(image).click(function() {
|
||||
var popUrl = getFormUrl()+imageUrl;
|
||||
var popUrl = getFormUrl()+encodeURIComponent(imageUrl);
|
||||
window.open(popUrl);
|
||||
$('#pinry-images').remove();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user