phpBB Development: phpBB is a popular open-source bulletin board written in PHP. This repository also contains the history of version 2.
Find a file
Andreas Fischer ac26bb458f [ticket/9764] Allow $config['mime_triggers'] to be an empty string.
explode('|', '') and explode('|', NULL) both return array(0 => '') which can
cause filespec::check_content() to reject everything starting with a '<'
character in case $config['mime_triggers'] is an empty string or not set.

fileupload::set_disallowed_content() now filters out empty strings by calling
array_diff() on the passed array, so setting $config['mime_triggers'] to an
empty string will turn off mime checking completely.

On the other side we want to fail safe if $config['mime_triggers'] is not set
at all. To do this, the array fileupload::$disallowed_content now contains some
default strings to be filtered out.

PHPBB3-9764
2010-10-28 22:00:04 +02:00
build [feature/webpi] Validate inline with MSSQL password policy. 2010-04-15 23:00:27 +01:00
git-tools/hooks Merge branch 'task/cs278/git-tools' into develop-olympus 2010-09-09 00:20:38 +02:00
phpBB [ticket/9764] Allow $config['mime_triggers'] to be an empty string. 2010-10-28 22:00:04 +02:00
tests [ticket/9855] Do not include the PHPUnit Framework manually on 3.5+. 2010-10-17 23:32:57 +02:00
.gitignore [ticket/9848] Add avatars, attachments and store files to .gitignore. 2010-10-15 18:08:43 +02:00