Changeset 3302584
- Timestamp:
- 05/29/2025 02:38:52 AM (8 months ago)
- Location:
- timber-library/trunk/vendor/twig/twig
- Files:
-
- 3 edited
-
CHANGELOG (modified) (1 diff)
-
src/Environment.php (modified) (1 diff)
-
src/Extension/CoreExtension.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
timber-library/trunk/vendor/twig/twig/CHANGELOG
r2823301 r3302584 1 # 1.44.8 (2024-09-09) 2 3 * Fix a security issue when an included sandboxed template has been loaded before without the sandbox context 4 1 5 # 1.44.7 (2022-09-28) 2 6 -
timber-library/trunk/vendor/twig/twig/src/Environment.php
r2823301 r3302584 42 42 class Environment 43 43 { 44 public const VERSION = '1.44. 7';45 public const VERSION_ID = 1440 7;44 public const VERSION = '1.44.8'; 45 public const VERSION_ID = 14408; 46 46 public const MAJOR_VERSION = 1; 47 47 public const MINOR_VERSION = 44; 48 public const RELEASE_VERSION = 7;48 public const RELEASE_VERSION = 8; 49 49 public const EXTRA_VERSION = ''; 50 50 -
timber-library/trunk/vendor/twig/twig/src/Extension/CoreExtension.php
r2823301 r3302584 1570 1570 $sandbox->enableSandbox(); 1571 1571 } 1572 1573 foreach ((\is_array($template) ? $template : [$template]) as $name) {1574 // if a Template instance is passed, it might have been instantiated outside of a sandbox, check security1575 if ($name instanceof TemplateWrapper || $name instanceof Template) {1576 $name->unwrap()->checkSecurity();1577 }1578 }1579 1572 } 1580 1573 … … 1605 1598 1606 1599 try { 1600 if ($isSandboxed && $loaded) { 1601 $loaded->unwrap()->checkSecurity(); 1602 } 1603 1607 1604 $ret = $loaded ? $loaded->render($variables) : ''; 1608 1605 } catch (\Exception $e) {
Note: See TracChangeset
for help on using the changeset viewer.