Avoid doing stupidly clever reflection tricks that make old PHP versions sad.
[htmlpurifier.git] / library / HTMLPurifier / URIScheme / http.php
blob959b8daff2c8e3d5091c77af8d96abef7f86c142
1 <?php
3 /**
4 * Validates http (HyperText Transfer Protocol) as defined by RFC 2616
5 */
6 class HTMLPurifier_URIScheme_http extends HTMLPurifier_URIScheme {
8 public $default_port = 80;
9 public $browsable = true;
10 public $hierarchical = true;
12 public function doValidate(&$uri, $config, $context) {
13 $uri->userinfo = null;
14 return true;
19 // vim: et sw=4 sts=4