Uri is now always urldecoded in Request class to ensure compability with

most webservers (issue: #268).
This commit is contained in:
Simon Sessingø
2017-08-23 16:13:44 +01:00
parent 7e8cb91f68
commit e84c8c2f02
4 changed files with 4 additions and 7 deletions
+1 -1
View File
@@ -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'));
}