Class HTMLPurifier_URIScheme
Validator for the components of a URI for a specific scheme
Direct known subclasses
HTMLPurifier_URIScheme_data, HTMLPurifier_URIScheme_file, HTMLPurifier_URIScheme_ftp, HTMLPurifier_URIScheme_http, HTMLPurifier_URIScheme_mailto, HTMLPurifier_URIScheme_news, HTMLPurifier_URIScheme_nntpIndirect known subclasses
HTMLPurifier_URIScheme_https
abstract public
boolean
|
#
doValidate(
Validates the components of a URI for a specific scheme. |
public
boolean
|
#
validate(
Public interface for validating components of a URI. Performs a bunch of default actions. Don't overload this method. |
public
mixed
|
$default_port | null |
#
Scheme's default port (integer). If an explicit port number is specified that coincides with the default port, it will be elided. |
public
boolean
|
$browsable | false |
#
Whether or not URIs of this scheme are locatable by a browser http and ftp are accessible, while mailto and news are not. |
public
boolean
|
$secure | false |
#
Whether or not data transmitted over this scheme is encrypted. https is secure, http is not. |
public
boolean
|
$hierarchical | false |
#
Whether or not the URI always uses <hier_part>, resolves edge cases with making relative URIs absolute |
public
boolean
|
$may_omit_host | false |
#
Whether or not the URI may omit a hostname when the scheme is explicitly specified, ala file:///path/to/file. As of writing, 'file' is the only scheme that browsers support his properly. |