3 require_once 'HTMLPurifier/URIScheme.php';
6 * Validates news (Usenet) as defined by generic RFC 1738
8 class HTMLPurifier_URIScheme_news
extends HTMLPurifier_URIScheme
{
10 var $browsable = false;
12 function validate(&$uri, $config, &$context) {
13 parent
::validate($uri, $config, $context);
14 $uri->userinfo
= null;
18 // typecode check needed on path