Lines Matching refs:uri
48 * @param HTMLPurifier_URI $uri Reference to a HTMLPurifier_URI object
53 abstract public function doValidate(&$uri, $config, $context); argument
58 * @param HTMLPurifier_URI $uri Reference to a HTMLPurifier_URI object
63 public function validate(&$uri, $config, $context) argument
65 if ($this->default_port == $uri->port) {
66 $uri->port = null;
72 (!is_null($uri->scheme) && ($uri->host === '' || is_null($uri->host))) ||
76 (is_null($uri->scheme) && $uri->host === '')
79 if (is_null($uri->scheme)) {
80 if (substr($uri->path, 0, 2) != '//') {
81 $uri->host = null;
91 $uri->host = $host;
98 return $this->doValidate($uri, $config, $context);