Commit 8bd9d70c authored by Mark Harding's avatar Mark Harding
Browse files

Merge branch 'force-lower-case-search-query-and-hashtags' into 'master'

[Sprint/ElevatedEagle](bug): Forced querystring params into lower case

Closes #439

See merge request !164
parents c710bdef 8d0ccfc1
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -109,7 +109,7 @@ class feeds implements Interfaces\Api

        $hashtag = null;
        if (isset($_GET['hashtag'])) {
            $hashtag = $_GET['hashtag'];
            $hashtag = strtolower($_GET['hashtag']);
        }

        $all = false;
@@ -123,7 +123,7 @@ class feeds implements Interfaces\Api

        $query = null;
        if (isset($_GET['query'])) {
            $query = $_GET['query'];
            $query = strtolower($_GET['query']);
        }

        $container_guid = $_GET['container_guid'] ?? null;