mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-12-23 08:51:53 +00:00
d3c04de9dc
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1575 48356398-32a2-884e-a903-53898d9a118a
20 lines
822 B
Plaintext
20 lines
822 B
Plaintext
URI.Host
|
|
TYPE: string/null
|
|
VERSION: 1.2.0
|
|
DEFAULT: NULL
|
|
--DESCRIPTION--
|
|
|
|
<p>
|
|
Defines the domain name of the server, so we can determine whether or
|
|
an absolute URI is from your website or not. Not strictly necessary,
|
|
as users should be using relative URIs to reference resources on your
|
|
website. It will, however, let you use absolute URIs to link to
|
|
subdomains of the domain you post here: i.e. example.com will allow
|
|
sub.example.com. However, higher up domains will still be excluded:
|
|
if you set %URI.Host to sub.example.com, example.com will be blocked.
|
|
<strong>Note:</strong> This directive overrides %URI.Base because
|
|
a given page may be on a sub-domain, but you wish HTML Purifier to be
|
|
more relaxed and allow some of the parent domains too.
|
|
</p>
|
|
|