4 * Validates news (Usenet) as defined by generic RFC 1738
6 class HTMLPurifier_URIScheme_news extends HTMLPurifier_URIScheme {
8 public $browsable = false;
10 public function validate(&$uri, $config, $context) {
11 parent::validate($uri, $config, $context);
12 $uri->userinfo = null;
16 // typecode check needed on path