diff options
author | Andy Staudacher <andy.st@gmail.com> | 2009-08-31 00:42:18 -0700 |
---|---|---|
committer | Andy Staudacher <andy.st@gmail.com> | 2009-08-31 00:42:18 -0700 |
commit | ddb84c84e16766c6b79bd7fea61532257e83ef8b (patch) | |
tree | b66c8a2ce6e8d21da31b6d67adfd3ac5de9b8fe6 /modules/gallery/tests/Xss_Security_Test.php | |
parent | 6d26b0dd6e900250072ca723c388cf3c5d987aeb (diff) |
Rename mark_safe() to mark_clean()
Diffstat (limited to 'modules/gallery/tests/Xss_Security_Test.php')
-rw-r--r-- | modules/gallery/tests/Xss_Security_Test.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/tests/Xss_Security_Test.php b/modules/gallery/tests/Xss_Security_Test.php index ef36f6b7..0ba5a587 100644 --- a/modules/gallery/tests/Xss_Security_Test.php +++ b/modules/gallery/tests/Xss_Security_Test.php @@ -195,7 +195,7 @@ class Xss_Security_Test extends Unit_Test_Case { in_array($tokens[$token_number + 2][1], array("clean", "purify", "js_string", "clean_attribute")) && self::_token_matches("(", $tokens, $token_number + 3)) { - // Not checking for mark_safe(). We want such calls to be marked dirty (thus reviewed). + // Not checking for mark_clean(). We want such calls to be marked dirty (thus reviewed). $method = $tokens[$token_number + 2][1]; $frame->expr_append("::$method("); |