4 * Validates nntp (Network News Transfer Protocol) as defined by generic RFC 1738
6 class HTMLPurifier_URIScheme_nntp extends HTMLPurifier_URIScheme {
8 public $default_port = 119;
9 public $browsable = false;
11 public function validate(&$uri, $config, $context) {
12 parent::validate($uri, $config, $context);
13 $uri->userinfo = null;