vault / twigphp-twig / v3.27.0
twigphp-twig @ v3.27.0
integrity
- size
- 277.0 KiB
- downloaded
- last checked
- overlays
- composer
- detected
- composer twig/twig
release notes
Changelog (https://github.com/twigphp/Twig/compare/v3.26.0...v3.27.0)
- security #558 Fix sandbox filter/tag/function allow-list bypass when sandbox state changes between renders (@fabpot)
- security #cve-2026-48805 Fix sandbox bypass in deprecated internal wrappers (@fabpot)
- security #552 Fix sandbox __toString policy bypass via dynamic mapping keys (@fabpot)
- security #535 Fix sandbox
__toStringbypasses viaTraversableinjoin/replacefilters and thein/not inoperators (@fabpot) - security #534 Fix sandbox bypass in the "column" filter under SourcePolicyInterface (@fabpot)
- feature #4817 Add a strict mode to SecurityPolicy to opt-in to the 4.0 sandbox behavior for the extends/use tags and the parent/block/attribute functions (@fabpot)
- feature #4813 Deprecate the fact that the
parent,block, andattributefunctions are always allowed in a sandboxed template (@fabpot) - bug #4812 Fix PHP 8.1+ implicit float-to-int deprecation in sandboxed array access (@fabpot)
- bug #4807 Escape root profile name in HtmlDumper (@fabpot)
- bug #4808 Restrict allowed classes in Profile::unserialize() (@fabpot)
- feature #4803 Deprecate the "Twig\Sandbox\SourcePolicyInterface" interface (@fabpot)
download
unix · zip
curl -fL -o v3.27.0.zip https://ratatoskr.space/pkg/twigphp-twig/v3.27.0.zip
printf '%s %s\n' 'b241b160fd3d12c30af94c65f533176230f7c719b0d56de9d1af0f6017557409' 'v3.27.0.zip' | sha256sum -c -
windows · zip
$url = "https://ratatoskr.space/pkg/twigphp-twig/v3.27.0.zip"
$out = "v3.27.0.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "b241b160fd3d12c30af94c65f533176230f7c719b0d56de9d1af0f6017557409") { throw "sha256 mismatch" }
unix · tar.gz
curl -fL -o v3.27.0.tar.gz https://ratatoskr.space/pkg/twigphp-twig/v3.27.0.tar.gz
printf '%s %s\n' '11f5568bbf4653b1b4d552907d1938ab3e18b8ed77b5cb0463487f4af9ef40e5' 'v3.27.0.tar.gz' | sha256sum -c -
windows · tar.gz
$url = "https://ratatoskr.space/pkg/twigphp-twig/v3.27.0.tar.gz"
$out = "v3.27.0.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "11f5568bbf4653b1b4d552907d1938ab3e18b8ed77b5cb0463487f4af9ef40e5") { throw "sha256 mismatch" }
download via yggdrasil mesh
unix · zip
curl -fL -o v3.27.0.zip http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/twigphp-twig/v3.27.0.zip
printf '%s %s\n' 'b241b160fd3d12c30af94c65f533176230f7c719b0d56de9d1af0f6017557409' 'v3.27.0.zip' | sha256sum -c -
windows · zip
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/twigphp-twig/v3.27.0.zip"
$out = "v3.27.0.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "b241b160fd3d12c30af94c65f533176230f7c719b0d56de9d1af0f6017557409") { throw "sha256 mismatch" }
unix · tar.gz
curl -fL -o v3.27.0.tar.gz http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/twigphp-twig/v3.27.0.tar.gz
printf '%s %s\n' '11f5568bbf4653b1b4d552907d1938ab3e18b8ed77b5cb0463487f4af9ef40e5' 'v3.27.0.tar.gz' | sha256sum -c -
windows · tar.gz
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/twigphp-twig/v3.27.0.tar.gz"
$out = "v3.27.0.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "11f5568bbf4653b1b4d552907d1938ab3e18b8ed77b5cb0463487f4af9ef40e5") { throw "sha256 mismatch" }
| artifact | format | size | hashes |
|---|---|---|---|
| v3.27.0.zip | zip | 282.1 KiB |
blake3-24 439c1442a6222f5e52604e48312541f2de29ea6f9df47ffd
sha256 b241b160fd3d12c30af94c65f533176230f7c719b0d56de9d1af0f6017557409
sha1 d0f0ca28e2865306683319846b845ca871f8ac00
|
| v3.27.0.tar.gz | tar.gz | 128.7 KiB |
blake3-24 6410f5f22baaa25f4f04ba4eac0002435924675da25502f9
sha256 11f5568bbf4653b1b4d552907d1938ab3e18b8ed77b5cb0463487f4af9ef40e5
sha1 7ae895f16fa6313efd9e194a9cc1e5f757026f79
|
install
bazel
http_archive(
name = "twigphp-twig",
urls = ["https://ratatoskr.space/pkg/twigphp-twig/v3.27.0.tar.gz"],
integrity = "sha256-EfVWi79GU7G01VKQfRk4qz4YuO13tcsEY0h/SvnvQOU=",
strip_prefix = "twigphp-twig-v3.27.0",
)
zig
.url = "https://ratatoskr.space/pkg/twigphp-twig/v3.27.0.tar.gz",
composer
composer config repositories.yggvault composer https://ratatoskr.space/pkg composer require twig/twig:v3.27.0
install via yggdrasil mesh
bazel
http_archive(
name = "twigphp-twig",
urls = ["http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/twigphp-twig/v3.27.0.tar.gz"],
integrity = "sha256-EfVWi79GU7G01VKQfRk4qz4YuO13tcsEY0h/SvnvQOU=",
strip_prefix = "twigphp-twig-v3.27.0",
)
zig
.url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/twigphp-twig/v3.27.0.tar.gz",
composer
composer config secure-http false composer config repositories.yggvault composer http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg composer require twig/twig:v3.27.0