diff --git a/CHANGELOG.md b/CHANGELOG.md index 09542a13f..f7fc0d214 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +# v1.7.42.3 +## 07/18/2023 + +2. [](#improved) + * Fixed a typo in `Utils::isDangerousFunction` + # v1.7.42.2 ## 07/18/2023 diff --git a/system/defines.php b/system/defines.php index bed025252..12e38b660 100644 --- a/system/defines.php +++ b/system/defines.php @@ -9,7 +9,7 @@ // Some standard defines define('GRAV', true); -define('GRAV_VERSION', '1.7.42.2'); +define('GRAV_VERSION', '1.7.42.3'); define('GRAV_SCHEMA', '1.7.0_2020-11-20_1'); define('GRAV_TESTING', false); diff --git a/system/src/Grav/Common/Utils.php b/system/src/Grav/Common/Utils.php index 7b267cd0f..378bffaff 100644 --- a/system/src/Grav/Common/Utils.php +++ b/system/src/Grav/Common/Utils.php @@ -2065,7 +2065,7 @@ public static function isDangerousFunction($name): bool } if (is_array($name) || strpos($name, ":") !== false) { - return false; + return true; } if (strpos($name, "\\") !== false) {