diff --git a/controllers/Parse.php b/controllers/Parse.php index 20498fe..3871d50 100644 --- a/controllers/Parse.php +++ b/controllers/Parse.php @@ -59,6 +59,10 @@ class Parse { ]); } + if(parse_url($url, PHP_URL_PATH) == '') { + $url = $url . '/'; + } + // Now fetch the URL and check for any curl errors $result = $this->http->get($url);