LibreY

- privacy respecting meta search engine
git clone git://git.acid.vegas/LibreY.git
Log | Files | Refs | Archive | README | LICENSE

commit 01fe9830098a7eb72e67e02eecdebe9b06992b44
parent 73c5b4b98e33f45eba61bb1f13a61efb716b65a8
Author: davidovski <david@davidovski.xyz>
Date: Wed, 30 Aug 2023 21:06:09 +0100

curl follow location by default

Diffstat:
Mmisc/search_engine.php | 2++

1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/misc/search_engine.php b/misc/search_engine.php
@@ -88,6 +88,8 @@
             $opts->frontends[$frontend]["instance_url"] = $_COOKIE[$frontend] ?? $opts->frontends[$frontend]["instance_url"];
         }
 
+        $opts->curl_settings[CURLOPT_FOLLOWLOCATION] ??= true;
+
         return $opts;
     }