From a5751c7f2098da9328fff39ddca56809f76990c1 Mon Sep 17 00:00:00 2001 From: "Edward Z. Yang" Date: Mon, 20 Nov 2006 03:07:46 +0000 Subject: [PATCH] [1.2.0] Update new directives file. git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@542 48356398-32a2-884e-a903-53898d9a118a --- docs/proposal-new-directives.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/proposal-new-directives.txt b/docs/proposal-new-directives.txt index 79e09b00..4858033e 100644 --- a/docs/proposal-new-directives.txt +++ b/docs/proposal-new-directives.txt @@ -44,15 +44,16 @@ time. Note the naming convention: %Namespace.Directive %URI.DisableIPHosts - URIs that have IP addresses for hosts are disallowed. Be sure to also grab unusual encodings (dword, hex and octal), which may be currently be caught by regular DNS -%URI.DisableAbsoluteDNS - Remove extra dots after host names that trigger - absolute DNS. While this is actually the preferred method according to - the RFC, most people opt to use a relative domain name relative to . (root). %URI.DisableIDN - Disallow raw internationalized domain names. Punycode will still be permitted. %URI.ConvertUnusualIPHosts - transform dword/hex/octal IP addresses to the regular form +%URI.ConvertAbsoluteDNS - Remove extra dots after host names that trigger + absolute DNS. While this is actually the preferred method according to + the RFC, most people opt to use a relative domain name relative to . (root). %URI.DisableExternalResources - disallow resource links (i.e. URIs that result in immediate requests, such as src in IMG) to external websites +%HTML.DisableImg - disables all images