În cel mai scurt timp vom face un nou update al tuturor arhivelor phpBB 2.0.7, astfel încât noile instalari si upgrate-uri vor fi imune.
Pentru a scăpa de acest bug deschide fişierul search.php cu orice editor de text şi urmăreşte următorii paşi.
Cauta:
Cod: Selectaţi tot
$show_results = ( isset($HTTP_POST_VARS['show_results']) ) ? $HTTP_POST_VARS['show_results'] : 'posts';
Cod: Selectaţi tot
$show_results = ($show_results == 'topics') ? 'topics' : 'posts';
Cod: Selectaţi tot
$store_vars = array('search_results', 'total_match_count', 'split_search', 'sort_by', 'sort_dir', 'show_results', 'return_chars');
Cod: Selectaţi tot
$search_results = '';
Deschide fisierul login.php
Cauta:
Cod: Selectaţi tot
$url = ( !empty($HTTP_POST_VARS['redirect']) ) ? htmlspecialchars($HTTP_POST_VARS['redirect']) : "index.$phpEx";
Cod: Selectaţi tot
$url = ( !empty($HTTP_POST_VARS['redirect']) ) ? str_replace('&', '&', htmlspecialchars($HTTP_POST_VARS['redirect'])) : "index.$phpEx";
Cod: Selectaţi tot
$redirect = ( !empty($HTTP_POST_VARS['redirect']) ) ? htmlspecialchars($HTTP_POST_VARS['redirect']) : '';
Cod: Selectaţi tot
$redirect = ( !empty($HTTP_POST_VARS['redirect']) ) ? str_replace('&', '&', htmlspecialchars($HTTP_POST_VARS['redirect'])) : '';
Cod: Selectaţi tot
$redirect = ( !empty($HTTP_POST_VARS['redirect']) ) ? htmlspecialchars($HTTP_POST_VARS['redirect']) : "";
Cod: Selectaţi tot
$redirect = ( !empty($HTTP_POST_VARS['redirect']) ) ? str_replace('&', '&', htmlspecialchars($HTTP_POST_VARS['redirect'])) : "";
Cod: Selectaţi tot
$url = (!empty($HTTP_POST_VARS['redirect'])) ? htmlspecialchars($HTTP_POST_VARS['redirect']) : htmlspecialchars($HTTP_GET_VARS['redirect']);
Cod: Selectaţi tot
$url = str_replace('&', '&', $url);
Cod: Selectaţi tot
$url = ( !empty($HTTP_POST_VARS['redirect']) ) ? htmlspecialchars($HTTP_POST_VARS['redirect']) : "index.$phpEx";
Cod: Selectaţi tot
$url = ( !empty($HTTP_POST_VARS['redirect']) ) ? str_replace('&', '&', htmlspecialchars($HTTP_POST_VARS['redirect'])) : "index.$phpEx";
Cauta:
Cod: Selectaţi tot
message_die(GENERAL_ERROR, 'Could not query private messages', '', __LINE__, __FILE__, $sql);
}
if ( $row = $db->sql_fetchrow($result) )
{
Cod: Selectaţi tot
$i = 0;
Cod: Selectaţi tot
$row_color = ( !($i % 2) ) ? $theme['td_color1'] : $theme['td_color2'];
$row_class = ( !($i % 2) ) ? $theme['td_class1'] : $theme['td_class2'];
Cod: Selectaţi tot
$i++;