Class HTMLPurifier_URIScheme_ftp
Validates ftp (File Transfer Protocol) URIs as defined by generic RFC 1738.
- HTMLPurifier_URIScheme
- HTMLPurifier_URIScheme_ftp
public
Bool
|
#
doValidate( $uri & $uri, $config $config, $context $context )
Validates the components of a URI for a specific scheme. |
validate()
|
public
integer
|
$default_port | 21 |
#
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 | true |
#
Whether or not URIs of this schem are locatable by a browser http and ftp are accessible, while mailto and news are not. |
public
boolean
|
$hierarchical | true |
#
Whether or not the URI always uses <hier_part>, resolves edge cases with making relative URIs absolute |
$may_omit_host
|