be7f6d4834
Prior to this change, all the line endings in the imported HTMLPurifier library were using CRLF (\r\n aka Windows style), but the HTMLPurifier source and also the downloadable artefacts use LF (\n aka Linux style) as line endings. This has been the case since510d190382when with the commit "MDL-38672 import HTML Purifier 4.5.0" all line endings were changed from LF to CRLF. There was no comment in the commit on why this change was done. As the original source uses LF, this commit partly reverts510d190382and goes back to LF as line endings. Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
20 lines
818 B
Plaintext
20 lines
818 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>
|
|
--# vim: et sw=4 sts=4
|