From db5f0efaab34c697408cb79ced095fc61e9fea31 Mon Sep 17 00:00:00 2001 From: Andy Miller Date: Sun, 21 Jan 2018 17:01:45 -0700 Subject: [PATCH] Fix for bad `Uri::filter()` call https://github.com/getgrav/grav-plugin-page-inject/issues/14 --- system/src/Grav/Common/Uri.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/src/Grav/Common/Uri.php b/system/src/Grav/Common/Uri.php index 56e425af2..48b223159 100644 --- a/system/src/Grav/Common/Uri.php +++ b/system/src/Grav/Common/Uri.php @@ -985,7 +985,7 @@ class Uri // Handle route only if ($route_only) { - $url_path = str_replace(static::filter($base_url), '', $url_path); + $url_path = str_replace(static::filterPath($base_url), '', $url_path); } // transform back to string/array as needed