From 4b9c62980599228f070b401c7673dce8085b0c61 Mon Sep 17 00:00:00 2001 From: Derek Jones Date: Fri, 1 Jul 2011 17:40:48 -0500 Subject: backed out 648b42a75739, which was a NON-trivial whitespace commit. It broke the Typography class's string replacements, for instance --- user_guide/helpers/security_helper.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'user_guide/helpers/security_helper.html') diff --git a/user_guide/helpers/security_helper.html b/user_guide/helpers/security_helper.html index 49e0365d1..e0cace325 100644 --- a/user_guide/helpers/security_helper.html +++ b/user_guide/helpers/security_helper.html @@ -71,19 +71,19 @@ Security Helper

xss_clean()

-

Provides Cross Site Script Hack filtering. This function is an alias to the one in the -Input class. More info can be found there.

+

Provides Cross Site Script Hack filtering. This function is an alias to the one in the +Input class. More info can be found there.

sanitize_filename()

-

Provides protection against directory traversal. This function is an alias to the one in the -Security class. More info can be found there.

+

Provides protection against directory traversal. This function is an alias to the one in the +Security class. More info can be found there.

do_hash()

-

Permits you to create SHA1 or MD5 one way hashes suitable for encrypting passwords. Will create SHA1 by default. Examples:

+

Permits you to create SHA1 or MD5 one way hashes suitable for encrypting passwords. Will create SHA1 by default. Examples:

$str = do_hash($str); // SHA1
@@ -91,13 +91,13 @@ $str = do_hash($str); // SHA1
$str = do_hash($str, 'md5'); // MD5
-

Note: This function was formerly named dohash(), which has been deprecated in favour of do_hash().

+

Note: This function was formerly named dohash(), which has been deprecated in favour of do_hash().

strip_image_tags()

-

This is a security function that will strip image tags from a string. It leaves the image URL as plain text.

+

This is a security function that will strip image tags from a string. It leaves the image URL as plain text.

$string = strip_image_tags($string); -- cgit v1.2.3-24-g4f1b