HTMLPurifier 4.4.0
/home/ezyang/Dev/htmlpurifier/library/HTMLPurifier/URIScheme/nntp.php
Go to the documentation of this file.
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 doValidate(&$uri, $config, $context) {
00012         $uri->userinfo = null;
00013         $uri->query    = null;
00014         return true;
00015     }
00016 
00017 }
00018 
00019 // vim: et sw=4 sts=4