fix for special chars in base path #1799

This commit is contained in:
Andy Miller
2017-12-27 13:39:16 -07:00
parent 5df6db9ffa
commit f48c0b1700
2 changed files with 2 additions and 1 deletions

View File

@@ -2,6 +2,7 @@
## mm/dd/2017
1. [](#bugfix)
* Fix for base paths containing special characters [#1799](https://github.com/getgrav/grav/issues/1799)
* Fix for `vundefined` error for version numbers in GPM [form#222](https://github.com/getgrav/grav-plugin-form/issues/222)
# v1.4.0-beta.2

View File

@@ -301,7 +301,7 @@ class Uri
$this->url = $this->base . $this->uri;
$uri = str_replace($this->root, '', $this->url);
$uri = str_replace(static::filterPath($this->root), '', $this->url);
// remove the setup.php based base if set:
$setup_base = $grav['pages']->base();