diff --git a/application/controllers/ApiV1ChannelsController.php b/application/controllers/ApiV1ChannelsController.php index fee4934c..ef3ee417 100644 --- a/application/controllers/ApiV1ChannelsController.php +++ b/application/controllers/ApiV1ChannelsController.php @@ -43,7 +43,7 @@ public function indexAction(): void } try { - $filterRule = QueryString::fromString(rawurldecode(Url::fromRequest()->getQueryString())) + $filterRule = QueryString::fromString(Url::fromRequest()->getQueryString()) ->on( QueryString::ON_CONDITION, function (Filter\Condition $condition) { diff --git a/application/controllers/ApiV1ContactgroupsController.php b/application/controllers/ApiV1ContactgroupsController.php index 0b7699c9..1dbb2745 100644 --- a/application/controllers/ApiV1ContactgroupsController.php +++ b/application/controllers/ApiV1ContactgroupsController.php @@ -61,7 +61,7 @@ public function indexAction(): void $this->httpBadRequest('The given identifier is not a valid UUID'); } - $filterStr = rawurldecode(Url::fromRequest()->getQueryString()); + $filterStr = Url::fromRequest()->getQueryString(); if ($method !== 'GET' && $filterStr) { $this->httpBadRequest('Filter is only allowed for GET requests'); } diff --git a/application/controllers/ApiV1ContactsController.php b/application/controllers/ApiV1ContactsController.php index 81a4d50c..73dc749d 100644 --- a/application/controllers/ApiV1ContactsController.php +++ b/application/controllers/ApiV1ContactsController.php @@ -66,7 +66,7 @@ public function indexAction(): void $this->httpBadRequest('The given identifier is not a valid UUID'); } - $filterStr = rawurldecode(Url::fromRequest()->getQueryString()); + $filterStr = Url::fromRequest()->getQueryString(); if ($method !== 'GET' && $filterStr) { $this->httpBadRequest('Filter is only allowed for GET requests'); }