mirror of
https://github.com/twigphp/Twig.git
synced 2026-10-11 06:15:43 +00:00
19099de78e80db2ab977db926d7618bd028363ea
* 3.x: Skip the sandbox `__toString` check on arguments whose PHP parameter type cannot implicitly coerce to string Fix CS Bump version Prepare the 3.27.1 release Fix inconsistent array access with a Stringable key Preserve IteratorAggregate identity in sandbox __toString walker Fix tests Bump version Prepare the 3.27.0 release Fix sandbox filter/tag/function allow-list bypass when sandbox state changes between renders Document new support for any expression as a dynamic mapping key Fix sandbox __toString policy bypass via dynamic mapping keys Fix deprecation notices in tests Guard sandbox `__toString` walker against self-referencing iterables Fix sandbox `__toString` bypass via `Stringable` + `Traversable` containers Fix sandbox `__toString` bypass via the `in` and `not in` operators Fix sandbox __toString bypass via Traversable in join/replace filters Mark new SourcePolicyInterface column filter tests as @group legacy Fix sandbox bypass in the "column" filter under SourcePolicyInterface Fix sandbox bypass in deprecated internal wrappers # Conflicts: # CHANGELOG # src/Environment.php # src/Node/Expression/ArrayExpression.php # src/Node/Expression/CallExpression.php # src/Resources/core.php # src/Template.php # src/Util/CallableArgumentsExtractor.php # src/Util/ReflectionCallable.php # tests/Extension/SandboxTest.php # tests/Resources/LegacyCoreTest.php # tests/TemplateTest.php
…
…
Twig, the flexible, fast, and secure template language for PHP
==============================================================
Twig is a template language for PHP.
Twig uses a syntax similar to the Django and Jinja template languages which
inspired the Twig runtime environment.
Sponsors
--------
.. raw:: html
<a href="https://docs.blackfire.io/introduction?utm_source=twig&utm_medium=github_readme&utm_campaign=logo">
<img src="https://static.blackfire.io/assets/intemporals/logo/png/blackfire-io_secondary_horizontal_transparent.png?1" width="255px" alt="Blackfire.io">
</a>
More Information
----------------
Read the `documentation`_ for more information.
.. _documentation: https://twig.symfony.com/documentation
Description
Languages
PHP
99.9%