|
@@ -66,7 +66,7 @@ function log_error($error_message, $error_type = 'general', $file = null, $line
|
|
$query_string = empty($_SERVER['QUERY_STRING']) ? (empty($_SERVER['REQUEST_URL']) ? '' : str_replace($scripturl, '', $_SERVER['REQUEST_URL'])) : $_SERVER['QUERY_STRING'];
|
|
$query_string = empty($_SERVER['QUERY_STRING']) ? (empty($_SERVER['REQUEST_URL']) ? '' : str_replace($scripturl, '', $_SERVER['REQUEST_URL'])) : $_SERVER['QUERY_STRING'];
|
|
|
|
|
|
// Don't log the session hash in the url twice, it's a waste.
|
|
// Don't log the session hash in the url twice, it's a waste.
|
|
- $query_string = htmlspecialchars((SMF == 'SSI' ? '' : '?') . preg_replace(array('~;sesc=[^&;]+~', '~' . session_name() . '=' . session_id() . '[&;]~'), array(';sesc', ''), $query_string));
|
|
|
|
|
|
+ $query_string = $smcFunc['htmlspecialchars']((SMF == 'SSI' ? '' : '?') . preg_replace(array('~;sesc=[^&;]+~', '~' . session_name() . '=' . session_id() . '[&;]~'), array(';sesc', ''), $query_string));
|
|
|
|
|
|
// Just so we know what board error messages are from.
|
|
// Just so we know what board error messages are from.
|
|
if (isset($_POST['board']) && !isset($_GET['board']))
|
|
if (isset($_POST['board']) && !isset($_GET['board']))
|