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 554ab31dd1c057ceae87675f9ac0e87707a89680
parent 1014f6658f604700b2937285697f4d8dcd04bf05
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date:   Mon,  8 Jul 2024 19:29:54 +0200

fix: use encode URLs correctly for forwarding

Diffstat:
Mindex.php | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/index.php b/index.php @@ -54,7 +54,7 @@ if (strlen($query) > 0) { /* Construct search query */ $target = str_replace( '%s', - rawurlencode($search_term), + urlencode($search_term), $searches[$search]["query"] );