\HTMLPurifier_URIScheme_mailto
Validates mailto (for E-mail) according to RFC 2368
Synopsis
class HTMLPurifier_URIScheme_mailto
extends HTMLPurifier_URIScheme
{
- // members
- public boolean $browsable = false;
- // Inherited members from HTMLPurifier_URIScheme
- public $default_port;
- public boolean $browsable;
- public boolean $hierarchical;
- // methods
- public void validate()
- // Inherited methods from HTMLPurifier_URIScheme
- public Bool validate()
Hierarchy
Extends
Tasks
Line | Task |
---|---|
12+ | Validate the email address |
12+ | Filter allowed query parameters |
Members
public
- $browsable
-
$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