mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-06-17 00:37:52 +00:00
Uri is now always urldecoded in Request class to ensure compability with
most webservers (issue: #268).
This commit is contained in:
@@ -30,7 +30,7 @@ class Request
|
||||
{
|
||||
$this->parseHeaders();
|
||||
$this->host = $this->getHeader('http-host');
|
||||
$this->uri = $this->getHeader('request-uri');
|
||||
$this->uri = urldecode($this->getHeader('request-uri'));
|
||||
$this->input = new Input($this);
|
||||
$this->method = strtolower($this->input->get('_method', $this->getHeader('request-method'), 'post'));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user