Source of file news.php
Size: 0,499 Bytes - Last Modified: 2021-12-23T10:07:55+00:00
/var/www/docs.ssmods.com/process/src/thirdparty/htmlpurifier-4.0.0-lite/library/HTMLPurifier/URIScheme/news.php
1234567891011121314151617181920212223 | <?php /** * Validates news (Usenet) as defined by generic RFC 1738 */ class HTMLPurifier_URIScheme_news extends HTMLPurifier_URIScheme { public $browsable = false; public function validate(&$uri, $config, $context) { parent::validate($uri, $config, $context); $uri->userinfo = null; $uri->host = null; $uri->port = null; $uri->query = null; // typecode check needed on path return true; } } // vim: et sw=4 sts=4 |