diff --git a/App/HTTP/Request.php b/App/HTTP/Request.php index a9697a2..f247d1a 100644 --- a/App/HTTP/Request.php +++ b/App/HTTP/Request.php @@ -17,7 +17,8 @@ public function __construct() // Get full URL $url ="//{$_SERVER['HTTP_HOST']}{$_SERVER['REQUEST_URI']}"; $this->url = htmlspecialchars( $url, ENT_QUOTES, 'UTF-8' ); - + $this->url = explode('?',$this->url)[0]; + // Get protocol $this->protocol = Protocol::get();