mirror of
https://github.com/getgrav/grav.git
synced 2026-07-17 08:42:34 +02:00
fix for special chars in base path #1799
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user