4 * Validates news (Usenet) as defined by generic RFC 1738
6 class HTMLPurifier_URIScheme_news extends HTMLPurifier_URIScheme
11 public $browsable = false;
16 public $may_omit_host = true;
19 * @param HTMLPurifier_URI $uri
20 * @param HTMLPurifier_Config $config
21 * @param HTMLPurifier_Context $context
24 public function doValidate(&$uri, $config, $context)
26 $uri->userinfo = null;
30 // typecode check needed on path