Skip to content

Commit

Permalink
Merge pull request codeigniter4#2719 from samsonasik/revert-resolve-r…
Browse files Browse the repository at this point in the history
…elative-uri

revert outdated $this->uri->resolveRelativeURI() call at IncomingRequest class
  • Loading branch information
MGatner authored Mar 18, 2020
2 parents aaa3eec + 44044b0 commit 28dfa26
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion system/HTTP/IncomingRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,6 @@ protected function detectURI(string $protocol, string $baseURL)
$this->uri->setScheme(parse_url($baseURL, PHP_URL_SCHEME));
$this->uri->setHost(parse_url($baseURL, PHP_URL_HOST));
$this->uri->setPort(parse_url($baseURL, PHP_URL_PORT));
$this->uri->resolveRelativeURI($this->uri->getPath());

// Ensure we have any query vars
$this->uri->setQuery($_SERVER['QUERY_STRING'] ?? '');
Expand Down

0 comments on commit 28dfa26

Please sign in to comment.