00001 <?php 00002 00006 class HTMLPurifier_URIScheme_nntp extends HTMLPurifier_URIScheme { 00007 00008 public $default_port = 119; 00009 public $browsable = false; 00010 00011 public function validate(&$uri, $config, $context) { 00012 parent::validate($uri, $config, $context); 00013 $uri->userinfo = null; 00014 $uri->query = null; 00015 return true; 00016 } 00017 00018 } 00019 00020 // vim: et sw=4 sts=4