Changeset 112222 in spip-zone
- Timestamp:
- Oct 30, 2018, 4:41:24 PM (2 years ago)
- Location:
- _plugins_/htmlpurifier
- Files:
-
- 2 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/htmlpurifier/htmlpurifier_options.php
r112211 r112222 7 7 ); 8 8 9 $GLOBALS['spip_wheels']['echappe_js'] = array(10 'htmlpurifier/echappe-js.yaml'11 ); -
_plugins_/htmlpurifier/wheels/htmlpurifier/interdire-scripts.yaml
r112211 r112222 20 20 21 21 securite-js: 22 if_str: "<" 23 if_match: "/<[a-z]+/iS" 24 type: all 25 replace: "echappe_js" 26 is_callback: Y 22 if_str: "<script" 23 match: "{<script.*?($|</script.)}isS" 24 is_wheel: y 25 replace: 26 - 27 type: all 28 replace: htmlspecialchars 29 is_callback: Y 30 - 31 type: all 32 replace: nl2br 33 is_callback: Y 34 - 35 type: all 36 replace: "<code class=\"securite-js\">$0</code>" 27 37 28 38 securite-base:
Note: See TracChangeset
for help on using the changeset viewer.