mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-07 09:16:55 +02:00
security fix
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@4868 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -69,6 +69,7 @@ else
|
||||
$search_id = ( isset($HTTP_GET_VARS['search_id']) ) ? $HTTP_GET_VARS['search_id'] : '';
|
||||
|
||||
$show_results = ( isset($HTTP_POST_VARS['show_results']) ) ? $HTTP_POST_VARS['show_results'] : 'posts';
|
||||
$show_results = ($show_results == 'topics') ? 'topics' : 'posts';
|
||||
|
||||
if ( isset($HTTP_POST_VARS['search_terms']) )
|
||||
{
|
||||
@@ -144,7 +145,8 @@ if ( $mode == 'searchuser' )
|
||||
else if ( $search_keywords != '' || $search_author != '' || $search_id )
|
||||
{
|
||||
$store_vars = array('search_results', 'total_match_count', 'split_search', 'sort_by', 'sort_dir', 'show_results', 'return_chars');
|
||||
|
||||
$search_results = '';
|
||||
|
||||
//
|
||||
// Search ID Limiter, decrease this value if you experience further timeout problems with searching forums
|
||||
$limiter = 5000;
|
||||
|
Reference in New Issue
Block a user