pub / serci

Search the web with !keywords
git clone https://https://src.jayvii.de/pub/serci.git
Home | Log | Files | Exports | Refs | README | RSS

commit 0ad815420abc7bc82b77f9f3266e85e5dcf8affd
parent 2e560e828ed07a6d2176eefc85ebe6bf649284de
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date:   Mon,  8 Jul 2024 10:09:30 +0200

fix: enforce lowercase keywords

Diffstat:
Mindex.php | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/index.php b/index.php @@ -25,6 +25,7 @@ if (strlen($query) > 0) { '${1}', $query ); + $keyword = strtolower($keyword); /* Based on given keyword, choose a search engine */ $search = $default_search;