Skip to content

Commit

Permalink
Fixes #2
Browse files Browse the repository at this point in the history
  • Loading branch information
larsemil committed Sep 5, 2022
1 parent 7b1835c commit e1c27fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion App/HTTP/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit e1c27fa

Please sign in to comment.