aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlolcat <will@lolcat.ca>2026-05-29 21:54:16 -0400
committerPinapelz <yukais@pinapelz.com>2026-06-01 21:03:47 -0700
commit6c9c600e53171c3e3074928ed4bc9262f8d70987 (patch)
tree8a358c04e2de03189c93997d82a125d562acb70c
parent4eb39098d80f2bbadb6f625dda4a49af09ae063f (diff)
stop changing the fucking encoding of the motherfucking word corrector
-rw-r--r--scraper/startpage.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/scraper/startpage.php b/scraper/startpage.php
index d1f2b41..ec70834 100644
--- a/scraper/startpage.php
+++ b/scraper/startpage.php
@@ -570,8 +570,8 @@ class startpage{
$out["spelling"] =
[
"type" => "including",
- "using" => $json["render"]["query"],
- "correction" => urldecode($category["results"][0]["query"])
+ "using" => rawurldecode($json["render"]["query"]),
+ "correction" => html_entity_decode($category["results"][0]["query"])
];
}
break;
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage