1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-07 01:06:48 +02:00

Merging mime and referer checks into the Trunk

git-svn-id: file:///svn/phpbb/trunk@8571 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Henry Sudhof
2008-05-28 13:05:45 +00:00
parent 28e8c3ea85
commit 91b4fe1868
14 changed files with 157 additions and 15 deletions

View File

@@ -1112,10 +1112,15 @@ function change_database_data($version)
_sql($sql, $errored, $error_ary);
}
}
// TODO: remove all form token min times
break;
case '3.0.1':
set_config('referer_validation', '1');
set_config('check_attachment_content', '1');
set_config('mime_triggers', 'body|head|html|img|plaintext|a href|pre|script|table|title');
}
}