diff options
author | Noémi Ványi <kvch@users.noreply.github.com> | 2019-01-25 20:54:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-25 20:54:47 +0100 |
commit | c4f165477ec21e28868ec11b4c165dcd672c3ebd (patch) | |
tree | 5fbf8fb803a76d97718fc1fe0b7c3ed89c9b4f31 | |
parent | deaaf0651a74412d8dcc10c609d50d74065fdc61 (diff) | |
parent | fdf3994364a15d441a9986eb39aa1100a9b97ee6 (diff) | |
download | searxng-c4f165477ec21e28868ec11b4c165dcd672c3ebd.tar.gz searxng-c4f165477ec21e28868ec11b4c165dcd672c3ebd.zip |
Merge pull request #1488 from Venca24/devel_image_proxy
[FIX] image_proxify
-rw-r--r-- | searx/webapp.py | 3 |
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) |