\HTMLPurifier_URIScheme_ftp
Validates ftp (File Transfer Protocol) URIs as defined by generic RFC 1738.
Synopsis
class HTMLPurifier_URIScheme_ftp
extends HTMLPurifier_URIScheme
{
- // members
- public integer $default_port = 21;
- public boolean $browsable = true;
- public boolean $hierarchical = true;
- // 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
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
-
$default_port
Scheme's default port (integer) - $hierarchical
-
$hierarchical
Whether or not the URI always uses <hier_part>, resolves edge cases with making relative URIs absolute