Searched refs:sandbox (Results 1 – 25 of 27) sorted by relevance
12
1 ``sandbox``4 The ``sandbox`` tag can be used to enable the sandboxing mode for an included9 {% sandbox %}15 The ``sandbox`` tag is only available when the sandbox extension is20 The ``sandbox`` tag can only be used to sandbox an include tag and it21 cannot be used to sandbox a section of a template. The following example26 {% sandbox %}
20 sandbox
68 chapter and in the :doc:`sandbox<../tags/sandbox>` tag documentation.
2 sandbox tag4 {%- sandbox %}8 {%- sandbox %}13 {%- sandbox %}{% include "foo.twig" %}{% endsandbox %}
2 sandbox tag4 {%- sandbox %}11 Twig\Error\SyntaxError: Only "include" tags are allowed within a "sandbox" section in "index.twig" …
2 sandbox tag4 {%- sandbox %}14 Twig\Error\SyntaxError: Only "include" tags are allowed within a "sandbox" section in "index.twig" …
2 sandbox tag4 {%- sandbox %}
59 $conf['skipRegex'] = ':(playground|sandbox)(:|$)';
1539 $sandbox = null;1545 $sandbox = $env->getExtension('\Twig\Extension\SandboxExtension');1546 if (!$alreadySandboxed = $sandbox->isSandboxed()) {1547 $sandbox->enableSandbox();1557 $sandbox->disableSandbox();1564 $sandbox->disableSandbox();1570 $sandbox->disableSandbox();1577 $sandbox->disableSandbox();
341 * *Twig_Extension_Sandbox*: Adds a sandbox mode to the default Twig473 The ``sandbox`` extension can be used to evaluate untrusted code. Access to474 unsafe attributes and methods is prohibited. The sandbox security is managed496 The policy object is the first argument of the sandbox constructor::498 $sandbox = new \Twig\Extension\SandboxExtension($policy);499 $twig->addExtension($sandbox);501 By default, the sandbox mode is disabled and should be enabled when including502 untrusted template code by using the ``sandbox`` tag:506 {% sandbox %}510 You can sandbox all templates by passing ``true`` as the second argument of[all …]
17 * *Secure*: Twig has a sandbox mode to evaluate untrusted template code. This
335 This method won't catch any sandbox policy violations because the policy
1 …ng.quote"],[/base-uri/,"string.quote"],[/plugin-types/,"string.quote"],[/sandbox/,"string.quote"],…
1 …g.quote'],\n [/plugin-types/, 'string.quote'],\n [/sandbox/, 'string.quote']…
1 …'if',\n 'import',\n 'include',\n 'macro',\n 'sandbox',\n 'set',…
23 * fixed sandbox security issue (under some circumstances, calling the30 * improved the performance of the sandbox73 * fixed .. (range operator) in sandbox policy160 * fixed sandbox being left enabled if an exception is thrown while rendering319 * fixed limited RCEs when in sandbox mode333 * fixed sandbox disabling when using the include function391 * removed the __toString policy check when the sandbox is disabled408 * fixed the C extension sandbox behavior when get or set is prepend to method name589 * added compilation checks to avoid misuses of the sandbox tag611 * fixed sandbox mode when used with inheritance[all …]
84 * ``sandboxed``: Whether to sandbox the template or not
38 var sandbox = vm.createScript(43 sandbox.runInNewContext(context);
40 sandbox="allow-modals allow-forms allow-scripts allow-same-origin allow-popups allow-top-navigation…
42 protected $sandbox; variable in Twig\\Template
565 * http://sandbox.mc.edu/~bennet/cs110/tc/tctod.html
583 * http://sandbox.mc.edu/~bennet/cs110/tc/tctod.html
22875 var sandbox;22880 sandbox = new win.Function("arguments.callee.install(window.console={})");22890 sandbox = new win.Function("arguments.callee.install(window.console={})");22895 sandbox = new win.Function("arguments.callee.install(window.firebug={})");22899 sandbox.install = installer;22900 sandbox();
5930 var sandbox;5931 if(win.console){if(Env.Options.overrideConsole){sandbox=new win.Function("arguments.callee.install(…5933 }}else{try{sandbox=new win.Function("arguments.callee.install(window.console={})")5934 }catch(E){sandbox=new win.Function("arguments.callee.install(window.firebug={})")5935 }}sandbox.install=installer;5936 sandbox()
5941 var sandbox;5942 if(win.console){if(Env.Options.overrideConsole){sandbox=new win.Function("arguments.callee.install(…5944 }}else{try{sandbox=new win.Function("arguments.callee.install(window.console={})")5945 }catch(E){sandbox=new win.Function("arguments.callee.install(window.firebug={})")5946 }}sandbox.install=installer;5947 sandbox()