PSR-2 reformatting PHPDoc corrections
[htmlpurifier.git] / library / HTMLPurifier / URIScheme / http.php
blobce69ec438a2c64b7cb5c8bb8cfcfb1e41c51b7e8
1 <?php
3 /**
4 * Validates http (HyperText Transfer Protocol) as defined by RFC 2616
5 */
6 class HTMLPurifier_URIScheme_http extends HTMLPurifier_URIScheme
8 /**
9 * @type int
11 public $default_port = 80;
13 /**
14 * @type bool
16 public $browsable = true;
18 /**
19 * @type bool
21 public $hierarchical = true;
23 /**
24 * @param HTMLPurifier_URI $uri
25 * @param HTMLPurifier_Config $config
26 * @param HTMLPurifier_Context $context
27 * @return bool
29 public function doValidate(&$uri, $config, $context)
31 $uri->userinfo = null;
32 return true;
36 // vim: et sw=4 sts=4