mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-08-19 04:12:31 +02:00
[3.1.0] Move schema files to schema/ directory, this is in preparation for mass-class rename
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1575 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
19
library/HTMLPurifier/ConfigSchema/schema/URI.Host.txt
Normal file
19
library/HTMLPurifier/ConfigSchema/schema/URI.Host.txt
Normal file
@@ -0,0 +1,19 @@
|
||||
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>
|
||||
|
Reference in New Issue
Block a user