Regression: Ajax error in ngnix (#1244)

This commit is contained in:
Matias Griese 2017-10-12 21:18:34 +03:00
parent 92afba0e28
commit f37c08f341
2 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,9 @@
# v1.3.6
## mm/dd/2017
1. [](#bugfix)
* Regression: Ajax error in ngnix (#1244)
# v1.3.5
## 10/11/2017

View File

@ -90,6 +90,13 @@ class Uri
$this->query = parse_url('http://example.com' . $request_uri, PHP_URL_QUERY);
}
// Support ngnix routes.
if (strpos($this->query, '_url=') === 0) {
parse_str($this->query, $query);
unset($query['_url']);
$this->query = http_build_query($query);
}
// Build fragment.
$this->fragment = null;