summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVenca24 <Vaclav.Zouzalik@seznam.cz>2019-01-18 09:04:40 +0100
committerVenca24 <Vaclav.Zouzalik@seznam.cz>2019-01-18 09:04:40 +0100
commite8734b37c9b3c2f598bb309e04d646bc8e6420a8 (patch)
treeaadaf33a7fb9c29128bcfd557d583764f39bc217
parent89dd3dd93f7f6611e135583364c9d58099652835 (diff)
downloadsearxng-e8734b37c9b3c2f598bb309e04d646bc8e6420a8.tar.gz
searxng-e8734b37c9b3c2f598bb309e04d646bc8e6420a8.zip
[FIX] image_proxify
-rw-r--r--searx/webapp.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/searx/webapp.py b/searx/webapp.py
index 977e7e675..727259774 100644
--- a/searx/webapp.py
+++ b/searx/webapp.py
@@ -295,6 +295,9 @@ def image_proxify(url):
if not request.preferences.get_value('image_proxy'):
return url
+ if url.startswith('data:image/jpeg;base64,'):
+ return url
+
if settings.get('result_proxy'):
return proxify(url)