Pagina 1 din 1

phpBB 2.0.16

Scris: 27-Iun-2005, 22:44:28
de BuGsY
Site-ul oficial al proiectului phpBB a lansat o nouă versiune a forumului - 2.0.16. Această nouă versiune promite să resolve câteva bug-uri dar şi să acopere mai multe găuri critice în securitatea soft-ului.

Deschideţi fişierul viewtopic.php şi căutaţi linia:

Cod: Selectaţi tot

# Line 1110
		$message = str_replace('\"', '"', substr(@preg_replace('#(\>(((?>([^><]+|(?R)))*)\<))#se', "@preg_replace('#\b(" . str_replace('\\', '\\\\', $highlight_match) . ")\b#i', '<span style=\"color:#" . $theme['fontcolor3'] . "\"><b>\\\\1</b></span>', '\\0')", '>' . $message . '<'), 1, -1));
Înlocuiţi această linie cu:

Cod: Selectaţi tot

$message = str_replace('\"', '"', substr(@preg_replace('#(\>(((?>([^><]+|(?R)))*)\<))#se', "@preg_replace('#\b(" . str_replace('\\', '\\\\', addslashes($highlight_match)) . ")\b#i', '<span style=\"color:#" . $theme['fontcolor3'] . "\"><b>\\\\1</b></span>', '\\0')", '>' . $message . '<'), 1, -1));
  • Changes:
    - Fixed critical issue with highlighting - Discovered and fix provided by Ron van Daal
    - Url descriptions able to be wrapped over more than one line again
    - Fixed bug with eAccelerator in admin_ug_auth.php
    - Check new_forum_id for existence in modcp.php - alessnet
    - Prevent uploading avatars with no dimensions - Xpert
    - Fixed bug in usercp_register.php, forcing avatar file removal without updating avatar informations within the database - HenkPoley
    - Fixed bug in admin re-authentication redirect for servers not having index.php as one of their default files set
Descarcă versiunea curentă phpBB 2.0.16 (27/Iun/2005).

Actualizarea manuală a forumului de la versiunea phpBB 2.0.15 (schimbările de cod)