Searched refs:policy (Results 1 – 5 of 5) sorted by relevance
26 private $policy; variable in Twig\\Extension\\SandboxExtension29 …public function __construct(SecurityPolicyInterface $policy, $sandboxed = false, ?SourcePolicyInte… argument35 $this->policy = $policy;79 public function setSecurityPolicy(SecurityPolicyInterface $policy): void argument81 $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');
1962 $policy = $env->getExtension(SandboxExtension::class)->getSecurityPolicy();1965 $policy->checkPropertyAllowed($item, (string) $name);1967 $policy->checkPropertyAllowed($item, (string) $index);
24 …policy 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....*/
14 /* really the template should expose control over the policy via the admin page....*/
21 * Fix sandbox `__toString` policy bypass via dynamic mapping keys38 * Fix sandbox bypass: propagate `Source` to `checkArrow` for source-policy sandboxing206 They are now checked via the property policy208 … circumstances on an object even if the `__toString()` method is not allowed by the security policy259 They are now checked via the property policy261 … circumstances on an object even if the `__toString()` method is not allowed by the security policy