Skip to content

Commit

Permalink
Merge pull request #185 from maximehuran/feature/manage-encoded-query
Browse files Browse the repository at this point in the history
URL decode the query in the request configuration
  • Loading branch information
maximehuran authored Aug 17, 2023
2 parents 8598a79 + d16ec66 commit 001c961
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Search/Request/RequestConfiguration.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 001c961

Please sign in to comment.