Commit 36a7971f authored by Mark Harding's avatar Mark Harding
Browse files

(fix): decode search query

parent be1bb7c5
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -121,7 +121,7 @@ class feeds implements Interfaces\Api


        $asActivities = (bool) ($_GET['as_activities'] ?? true);
        $asActivities = (bool) ($_GET['as_activities'] ?? true);


        $query = $_GET['query'] ?? null;
        $query = isset($_GET['query']) ? urldecode($_GET['query']) : null;


        $container_guid = $_GET['container_guid'] ?? null;
        $container_guid = $_GET['container_guid'] ?? null;
        $custom_type = isset($_GET['custom_type']) && $_GET['custom_type'] ? [$_GET['custom_type']] : null;
        $custom_type = isset($_GET['custom_type']) && $_GET['custom_type'] ? [$_GET['custom_type']] : null;