PluginProbe
HTTP Headers / 1.13.3
HTTP Headers v1.13.3
1.19.5 trunk 1.0.0 1.1.0 1.1.1 1.1.2 1.10.0 1.10.1 1.10.2 1.10.3 1.10.4 1.10.5 1.11.0 1.12.0 1.12.1 1.12.2 1.13.0 1.13.1 1.13.2 1.13.3 1.13.4 1.14.0 1.14.1 1.14.2 1.15.0 All 60 releases
http-headers / views / includes / csp-sandbox.inc.php

csp-sandbox.inc.php in HTTP Headers 1.13.3, at views/includes/csp-sandbox.inc.php

27 lines 859 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 $sandbox = array(
3 'allow-forms',
4 'allow-same-origin',
5 'allow-scripts',
6 'allow-popups',
7 'allow-modals',
8 'allow-orientation-lock',
9 'allow-pointer-lock',
10 'allow-presentation',
11 'allow-popups-to-escape-sandbox',
12 'allow-top-navigation',
13 );
14 foreach ($sandbox as $origin)
15 {
16 ?>
17 <p>
18 <input type="checkbox"
19 name="hh_content_security_policy_value[<?php echo $item; ?>][<?php echo $origin; ?>]"
20 id="csp-<?php echo $item; ?>-<?php echo $origin; ?>"
21 value="1"<?php echo isset($csp_value[$item][$origin]) ? ' checked' : NULL; ?>
22 class="http-header-value"<?php echo $content_security_policy == 1 ? NULL : ' readonly'; ?>>
23 <label for="csp-<?php echo $item; ?>-<?php echo $origin; ?>"><?php echo $origin; ?></label>
24 </p>
25 <?php
26 }
27 ?>