forked from extern/egroupware
8f797be836
- can be used via html class like: $clean_html = html::purify($html); - using it now in eTemplate to remove malicious code from html: a) when displaying "formatted text" b) when "formatted text" get's input by the user
12 lines
443 B
Plaintext
Executable File
12 lines
443 B
Plaintext
Executable File
URI.DisableExternal
|
|
TYPE: bool
|
|
VERSION: 1.2.0
|
|
DEFAULT: false
|
|
--DESCRIPTION--
|
|
Disables links to external websites. This is a highly effective anti-spam
|
|
and anti-pagerank-leech measure, but comes at a hefty price: nolinks or
|
|
images outside of your domain will be allowed. Non-linkified URIs will
|
|
still be preserved. If you want to be able to link to subdomains or use
|
|
absolute URIs, specify %URI.Host for your website.
|
|
--# vim: et sw=4 sts=4
|