From d16ec668b8ee9c339f0d42ff5a73720247b902dd Mon Sep 17 00:00:00 2001 From: Maxime Huran Date: Thu, 17 Aug 2023 10:38:37 +0200 Subject: [PATCH] URL decode the query in the request configuration --- src/Search/Request/RequestConfiguration.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Search/Request/RequestConfiguration.php b/src/Search/Request/RequestConfiguration.php index e0cf2209..50e89ba0 100644 --- a/src/Search/Request/RequestConfiguration.php +++ b/src/Search/Request/RequestConfiguration.php @@ -56,7 +56,7 @@ public function __construct( public function getQueryText(): string { - return trim($this->request->get('query', '')); + return trim(urldecode($this->request->get('query', ''))); } public function getAppliedFilters(string $type = null): array