summaryrefslogtreecommitdiff
path: root/modules/gallery/tests/Xss_Security_Test.php
diff options
context:
space:
mode:
authorAndy Staudacher <andy.st@gmail.com>2009-09-17 14:12:43 -0700
committerAndy Staudacher <andy.st@gmail.com>2009-09-17 14:12:43 -0700
commit2e23ae98c43ae099a0b7b18f3c65fae21401aa43 (patch)
tree07c3c46ccc88c7ff5f9694662e7dd46f6e7022d9 /modules/gallery/tests/Xss_Security_Test.php
parentd050f0a2466fedfe96c3bbc072374d01b17951c5 (diff)
- Add theme->movie_menu() to whitelisted methods.
- xss_data checkpoint
Diffstat (limited to 'modules/gallery/tests/Xss_Security_Test.php')
-rw-r--r--modules/gallery/tests/Xss_Security_Test.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/gallery/tests/Xss_Security_Test.php b/modules/gallery/tests/Xss_Security_Test.php
index 85624517..16541017 100644
--- a/modules/gallery/tests/Xss_Security_Test.php
+++ b/modules/gallery/tests/Xss_Security_Test.php
@@ -144,7 +144,8 @@ class Xss_Security_Test extends Unit_Test_Case {
"dynamic_bottom", "dynamic_top", "footer", "head", "header_bottom",
"header_top", "page_bottom", "page_top", "photo_blocks", "photo_bottom",
"photo_top", "resize_bottom", "resize_top", "sidebar_blocks", "sidebar_bottom",
- "sidebar_top", "thumb_bottom", "thumb_info", "thumb_top")) &&
+ "sidebar_top", "thumb_bottom", "thumb_info", "thumb_top",
+ "movie_menu")) &&
self::_token_matches("(", $tokens, $token_number + 3)) {
$method = $tokens[$token_number + 2][1];