git-svn-id: file:///svn/phpbb/trunk@7362 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
David M 2007-04-16 01:30:48 +00:00
parent c76a2cdfe8
commit 1de40e6839

View file

@ -36,7 +36,7 @@ if (!empty($load_extensions))
$sid = (isset($_GET['sid'])) ? htmlspecialchars($_GET['sid']) : '';
$id = (isset($_GET['id'])) ? intval($_GET['id']) : 0;
if (!ctype_alnum($sid))
if (strspn($str, 'abcdefABCDEF0123456789') !== strlen($str))
{
$sid = '';
}
@ -129,7 +129,7 @@ if ($id && $sid)
$cache->destroy('sql', STYLES_THEME_TABLE);
}
header('Expires: ' . gmdate('D, d M Y H:i:s \G\M\T', time() + 3600));
//header('Expires: ' . gmdate('D, d M Y H:i:s \G\M\T', time() + 3600));
header('Content-type: text/css');
// Parse Theme Data