HumHub Documentation (unofficial)

HTMLPurifier_URIScheme_https extends HTMLPurifier_URIScheme_http
in package

Validates https (Secure HTTP) according to http scheme.

Table of Contents

Properties

$browsable  : mixed
Whether or not URIs of this scheme are locatable by a browser http and ftp are accessible, while mailto and news are not.
$default_port  : mixed
Scheme's default port (integer). If an explicit port number is specified that coincides with the default port, it will be elided.
$hierarchical  : mixed
Whether or not the URI always uses <hier_part>, resolves edge cases with making relative URIs absolute
$may_omit_host  : mixed
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.
$secure  : mixed

Methods

doValidate()  : bool
Validates the components of a URI for a specific scheme.
validate()  : bool
Public interface for validating components of a URI. Performs a bunch of default actions. Don't overload this method.

Properties

$browsable

Whether or not URIs of this scheme are locatable by a browser http and ftp are accessible, while mailto and news are not.

public mixed $browsable = \true
Tags
type

bool

$default_port

Scheme's default port (integer). If an explicit port number is specified that coincides with the default port, it will be elided.

public mixed $default_port = 443
Tags
type

int

$hierarchical

Whether or not the URI always uses <hier_part>, resolves edge cases with making relative URIs absolute

public mixed $hierarchical = \true
Tags
type

bool

$may_omit_host

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.

public mixed $may_omit_host = \false
Tags
type

bool

$secure

public mixed $secure = \true
Tags
type

bool

Methods


        
On this page

Search results