mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-11-10 07:38:41 +00:00
32 lines
999 B
Plaintext
32 lines
999 B
Plaintext
|
URI.Munge
|
||
|
TYPE: string
|
||
|
VERSION: 1.3.0
|
||
|
DEFAULT: NULL
|
||
|
--DESCRIPTION--
|
||
|
|
||
|
<p>
|
||
|
Munges all browsable (usually http, https and ftp)
|
||
|
absolute URI's into another URI, usually a URI redirection service.
|
||
|
This directive accepts a URI, formatted with a <code>%s</code> where
|
||
|
the url-encoded original URI should be inserted (sample:
|
||
|
<code>http://www.google.com/url?q=%s</code>).
|
||
|
</p>
|
||
|
<p>
|
||
|
Uses for this directive:
|
||
|
</p>
|
||
|
<ul>
|
||
|
<li>
|
||
|
Prevent PageRank leaks, while being fairly transparent
|
||
|
to users (you may also want to add some client side JavaScript to
|
||
|
override the text in the statusbar). <strong>Notice</strong>:
|
||
|
Many security experts believe that this form of protection does
|
||
|
not deter spam-bots.
|
||
|
</li>
|
||
|
<li>
|
||
|
Redirect users to a splash page telling them they are leaving your
|
||
|
website. While this is poor usability practice, it is often
|
||
|
mandated
|
||
|
in corporate environments.
|
||
|
</li>
|
||
|
</ul>
|