00001 <?php 00002 00006 class HTMLPurifier_URIScheme 00007 { 00008 00012 public $default_port = null; 00013 00018 public $browsable = false; 00019 00024 public $hierarchical = false; 00025 00035 public function validate(&$uri, $config, $context) { 00036 if ($this->default_port == $uri->port) $uri->port = null; 00037 return true; 00038 } 00039 00040 } 00041 00042 // vim: et sw=4 sts=4