diff options
| author | jhilden <jakobhilden@gmail.com> | 2009-09-26 11:27:45 -0400 |
|---|---|---|
| committer | jhilden <jakobhilden@gmail.com> | 2009-09-26 11:27:45 -0400 |
| commit | 21341d552f7e56341b29c020e1149d9c41182c84 (patch) | |
| tree | 70502de8e6784d749b47b445838d8719f21af6bf /modules/gallery/tests/Xss_Security_Test.php | |
| parent | 4345e96d1db63c8488eb7a35cdc8e42987ba53f5 (diff) | |
| parent | 0abd6f63bc8a1976a62bc4b57bbabe10d62b5c8d (diff) | |
Merge branch 'master' of git@github.com:gallery/gallery3
Diffstat (limited to 'modules/gallery/tests/Xss_Security_Test.php')
| -rw-r--r-- | modules/gallery/tests/Xss_Security_Test.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gallery/tests/Xss_Security_Test.php b/modules/gallery/tests/Xss_Security_Test.php index 16541017..b296d97c 100644 --- a/modules/gallery/tests/Xss_Security_Test.php +++ b/modules/gallery/tests/Xss_Security_Test.php @@ -248,7 +248,7 @@ class Xss_Security_Test extends Unit_Test_Case { $frame->is_safe_attr(true); } } - } + } } else if ($frame && $token[0] == T_OBJECT_OPERATOR) { $frame->expr_append($token[1]); @@ -349,7 +349,7 @@ class Xss_Security_Test extends Unit_Test_Case { $canonical = MODPATH . "gallery/tests/xss_data.txt"; exec("diff $canonical $new", $output, $return_value); $this->assert_false( - $return_value, "XSS golden file mismatch. Output:\n" . implode("\n", $output) ); + $return_value, "XSS golden file mismatch. Output:\n" . implode("\n", $output) ); } private static function _create_frame($token, $in_script_block, |
