\HTMLPurifier_URIScheme
Validator for the components of a URI for a specific scheme
Synopsis
class HTMLPurifier_URIScheme
{
- // members
- public $default_port = NULL;
- public boolean $browsable = false;
- public boolean $hierarchical = false;
- // methods
- public Bool validate()
Members
public
-
$browsable
Whether or not URIs of this schem are locatable by a browser http and ftp are accessible, while mailto and news are not. -
$default_port
Scheme's default port (integer) -
$hierarchical
Whether or not the URI always uses <hier_part>, resolves edge cases with making relative URIs absolute
Methods
public
- validate() — Validates the components of a URI