mirror of
https://github.com/Pathduck/gallery3.git
synced 2024-10-29 21:07:18 -04:00
Merge pull request #434 from shadlaws/fix_controller_auth_test_master
Fix Controller_Auth_Test - T_CURLY_OPEN not parsed as "{". Update golden file.
This commit is contained in:
commit
6573fac049
@ -47,6 +47,10 @@ class Controller_Auth_Test extends Gallery_Unit_Test_Case {
|
||||
$function = null;
|
||||
for ($token_number = 0; $token_number < count($tokens); $token_number++) {
|
||||
$token = $tokens[$token_number];
|
||||
if (self::_token_matches(array(T_CURLY_OPEN), $tokens, $token_number)) {
|
||||
// Treat this just like a normal open curly brace
|
||||
$token = "{";
|
||||
}
|
||||
|
||||
// Count braces.
|
||||
// 1 open brace = in class context.
|
||||
|
@ -37,6 +37,7 @@ modules/tag/controllers/admin_tags.php index
|
||||
modules/tag/controllers/tag.php __call DIRTY_CSRF|DIRTY_AUTH
|
||||
modules/tag/controllers/tag_name.php __call DIRTY_AUTH
|
||||
modules/tag/controllers/tags.php autocomplete DIRTY_CSRF|DIRTY_AUTH
|
||||
modules/tag/helpers/tag_rss.php feed DIRTY_AUTH
|
||||
modules/user/controllers/admin_users.php index DIRTY_CSRF
|
||||
modules/user/controllers/password.php reset DIRTY_AUTH
|
||||
modules/user/controllers/password.php do_reset DIRTY_CSRF|DIRTY_AUTH
|
||||
|
Loading…
Reference in New Issue
Block a user