Skip to content

Commit

Permalink
Merge branch '4.x' of https://github.com/craftcms/cms into 5.x
Browse files Browse the repository at this point in the history
# Conflicts:
#	CHANGELOG.md
#	composer.lock
  • Loading branch information
brandonkelly committed Sep 11, 2024
2 parents 5e56c6d + 123e48a commit d775097
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 9 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Release Notes for Craft CMS 5

## Unreleased

- Updated Twig to 3.14. ([#15704](https://github.com/craftcms/cms/issues/15704))
- Fixed an RCE vulnerability.

## 5.4.2 - 2024-09-06

- Added `craft\services\Security::isSystemDir()`.
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"symfony/var-dumper": "^5.0|^6.0",
"symfony/yaml": "^5.2.3",
"theiconic/name-parser": "^1.2",
"twig/twig": "~3.12.0",
"twig/twig": "~3.14.0",
"voku/stringy": "^6.4.0",
"web-auth/webauthn-lib": "~4.9.0",
"webonyx/graphql-php": "~14.11.5",
Expand Down
14 changes: 7 additions & 7 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/helpers/FileHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ public static function absolutePath(
$from = static::absolutePath($from, ds: $ds);
}

return $from . $ds . $to;
return static::normalizePath($from . $ds . $to, $ds);
}

/**
Expand Down

0 comments on commit d775097

Please sign in to comment.