Skip to content

Commit

Permalink
Merge branch 'release/1.7.42.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
rhukster committed Jul 18, 2023
2 parents 45103f8 + 893b1dd commit fb5dd14
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion system/defines.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
2 changes: 1 addition & 1 deletion system/src/Grav/Common/Utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit fb5dd14

Please sign in to comment.