summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2015-03-23 00:35:13 +0100
committerczaks <marcin@6irc.net>2015-03-23 00:35:13 +0100
commit81afc17b671e16cd95923c1b2461509a5fc4aa81 (patch)
tree8d1f3c505e09927e753dcf7b1824b6dd2dcb59bf
parent158371dc64676abdffe659f9d4763745d0b77300 (diff)
image identification: url encode
-rw-r--r--templates/post/image_identification.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/post/image_identification.html b/templates/post/image_identification.html
index fa2f30b3..408a338c 100644
--- a/templates/post/image_identification.html
+++ b/templates/post/image_identification.html
@@ -8,7 +8,7 @@
<a href="http://regex.info/exif.cgi?url={{ config.domain }}{{ config.uri_img }}{{ file.file }}" target="_blank">Exif</a>
{% endif %}
{% if config.image_identification_google %}
- <a href="https://www.google.com/searchbyimage?image_url={{ config.domain }}{{ config.uri_img }}{{ file.file }}" target="_blank">Google</a>
+ <a href="https://www.google.com/searchbyimage?image_url={{ config.domain|url_encode }}{{ config.uri_img|url_encode }}{{ file.file|url_encode }}" target="_blank">Google</a>
{% endif %}
{% if config.image_identification_iqdb %}
<a href="http://iqdb.org/?url={{ config.domain }}{{ config.uri_img }}{{ file.file }}" target="_blank">iqdb</a>