Home
last modified time | relevance | path

Searched refs:policy (Results 1 – 5 of 5) sorted by relevance

/template/twigstarter/vendor/twig/twig/src/Extension/
DSandboxExtension.php26 private $policy; variable in Twig\\Extension\\SandboxExtension
29 …public function __construct(SecurityPolicyInterface $policy, $sandboxed = false, ?SourcePolicyInte… argument
35 $this->policy = $policy;
79 public function setSecurityPolicy(SecurityPolicyInterface $policy): void argument
81 $this->policy = $policy;
86 return $this->policy;
92 $this->policy->checkSecurity($tags, $filters, $functions);
100 $this->policy->checkMethodAllowed($obj, $method);
114 $this->policy->checkPropertyAllowed($obj, $property);
166 $this->policy->checkMethodAllowed($obj, '__toString');
DCoreExtension.php1962 $policy = $env->getExtension(SandboxExtension::class)->getSecurityPolicy();
1965 $policy->checkPropertyAllowed($item, (string) $name);
1967 $policy->checkPropertyAllowed($item, (string) $index);
/template/starterpjax/
DREADME.md24policy which will break most non-jokuwiki plugins relying on Javacript. Currently this requires th…
40 > /* really the template should expose control over the policy via the admin page....*/
Dmain.php.withTime14 /* really the template should expose control over the policy via the admin page....*/
/template/twigstarter/vendor/twig/twig/
DCHANGELOG21 * Fix sandbox `__toString` policy bypass via dynamic mapping keys
38 * Fix sandbox bypass: propagate `Source` to `checkArrow` for source-policy sandboxing
206 They are now checked via the property policy
208 … circumstances on an object even if the `__toString()` method is not allowed by the security policy
259 They are now checked via the property policy
261 … circumstances on an object even if the `__toString()` method is not allowed by the security policy