From: <var...@us...> - 2021-09-30 12:52:23
|
Revision: 10603 http://sourceforge.net/p/phpwiki/code/10603 Author: vargenau Date: 2021-09-30 12:52:20 +0000 (Thu, 30 Sep 2021) Log Message: ----------- lib/plugin/RawHtml.php: update policy comments Modified Paths: -------------- trunk/lib/plugin/RawHtml.php Modified: trunk/lib/plugin/RawHtml.php =================================================================== --- trunk/lib/plugin/RawHtml.php 2021-09-30 12:43:51 UTC (rev 10602) +++ trunk/lib/plugin/RawHtml.php 2021-09-30 12:52:20 UTC (rev 10603) @@ -22,26 +22,16 @@ * */ -// Moved to IniConfig and config-default.ini -// Define ENABLE_RAW_HTML to false (in config.ini) to disable the RawHtml -// plugin completely -/* -if (!defined('ENABLE_RAW_HTML')) - define('ENABLE_RAW_HTML', true); -// must be locked -if (!defined('ENABLE_RAW_HTML_LOCKEDONLY')) - define('ENABLE_RAW_HTML_LOCKEDONLY', true); -// sanitize to safe html code -if (!defined('ENABLE_RAW_HTML_SAFE')) - define('ENABLE_RAW_HTML_SAFE', true); -*/ - -/** We defined a better policy when to allow RawHtml: +/** + * We defined a better policy when to allow RawHtml: * ENABLE_RAW_HTML_LOCKEDONLY: * - Allowed if page is locked by ADMIN_USER. * ENABLE_RAW_HTML_SAFE: * - Allow some sort of "safe" html tags and attributes. * Unsafe attributes are automatically stripped. (Experimental!) + * + * Define ENABLE_RAW_HTML to false (in config.ini) to disable the RawHtml + * plugin completely */ /** This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |