3 require_once 'HTMLPurifier/URIScheme.php';
6 * Validates http (HyperText Transfer Protocol) as defined by RFC 2616
8 class HTMLPurifier_URIScheme_http
extends HTMLPurifier_URIScheme
{
10 var $default_port = 80;
11 var $browsable = true;
12 var $hierarchical = true;
14 function validate(&$uri, $config, &$context) {
15 parent
::validate($uri, $config, $context);
16 $uri->userinfo
= null;