+--------------------------------------------------------------------------------+ | MyBB 1.4.5 - Security Update Patch File | | (c) 2009 MyBB Group. | | | | This patch file fixes one medium and one low risk issues in MyBB 1.4.5 | | | | Please follow the instructions documented to manually patch your board. | +--------------------------------------------------------------------------------+ =============== 1. admin/modules/user/users.php =============== Find: -- $user['view']['avatar'] = "\"\""; -- Replace with: -- $user['view']['avatar'] = "\"\""; -- ALSO Find: -- $table->construct_cell("
\"\"
", array('rowspan' => 6, 'width' => 1)); -- Replace with: -- $table->construct_cell("
\"\"
", array('rowspan' => 6, 'width' => 1)); -- ALSO Find: -- $table->construct_cell("
\"\"
", array('width' => 1)); -- Replace with: -- $table->construct_cell("
\"\"
", array('width' => 1)); -- =============== 2. attachments.php =============== Find: -- header("Content-type: {$attachment['filetype']}"); -- Add BEFORE: -- if(strpos(strtolower($_SERVER['HTTP_USER_AGENT']), "msie 6.0") !== false) { header("Expires: -1"); } -- =============== 3. inc/class_core.php (Version number change) =============== Find: -- /** * The friendly version number of MyBB we're running. * * @var string */ var $version = "1.4.5"; /** * The version code of MyBB we're running. * * @var integer */ var $version_code = 1405; -- Replace with: -- /** * The friendly version number of MyBB we're running. * * @var string */ var $version = "1.4.6"; /** * The version code of MyBB we're running. * * @var integer */ var $version_code = 1406; -- ALL DONE