HTMLPurifier 4.4.0
/home/ezyang/Dev/htmlpurifier/library/HTMLPurifier/URIScheme/http.php
Go to the documentation of this file.
00001 <?php
00002 
00006 class HTMLPurifier_URIScheme_http extends HTMLPurifier_URIScheme {
00007 
00008     public $default_port = 80;
00009     public $browsable = true;
00010     public $hierarchical = true;
00011 
00012     public function doValidate(&$uri, $config, $context) {
00013         $uri->userinfo = null;
00014         return true;
00015     }
00016 
00017 }
00018 
00019 // vim: et sw=4 sts=4