Rename mark_safe() to mark_clean()

This commit is contained in:
Andy Staudacher
2009-08-31 00:42:18 -07:00
parent 6d26b0dd6e
commit ddb84c84e1
17 changed files with 25 additions and 25 deletions
+1 -1
View File
@@ -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(");