mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-22 14:55:18 -04:00
Rename mark_safe() to mark_clean()
This commit is contained in:
@@ -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(");
|
||||
|
||||
Reference in New Issue
Block a user