extends |
HTMLPurifier_URIScheme |
---|
Implements data: URI for base64 encoded images supported by GD.
Methods | ||||
---|---|---|---|---|
public
|
doValidate(HTMLPurifier_URI &$uri, HTMLPurifier_Config $config, HTMLPurifier_Context $context): bool
Validates the components of a URI for a specific scheme.
Validates the components of a URI for a specific scheme. Parameters
Returnssuccess or failure Implements |
# | ||
public
|
muteErrorHandler(int $errno, string $errstr)
|
# |
Methods inherited from HTMLPurifier_URIScheme |
---|
validate() |
Properties | |||
---|---|---|---|
public
|
|
$browsable = true
|
# |
public
|
|
$allowed_types = ['image/jpeg' => true, 'image/gif' => true, 'image/png' => true]
|
# |
public
|
|
$may_omit_host = true
|
# |
Properties inherited from HTMLPurifier_URIScheme |
---|
$default_port, $secure, $hierarchical, |