diff options
author | David M <davidmj@users.sourceforge.net> | 2007-04-16 01:30:48 +0000 |
---|---|---|
committer | David M <davidmj@users.sourceforge.net> | 2007-04-16 01:30:48 +0000 |
commit | 1de40e68393be43fa818a1504dbebb8e39439840 (patch) | |
tree | 7ba62661307cda798e6431f55f0759f65e20fa94 /phpBB/style.php | |
parent | c76a2cdfe867952c3b1087a585589debc0b5d648 (diff) | |
download | forums-1de40e68393be43fa818a1504dbebb8e39439840.tar forums-1de40e68393be43fa818a1504dbebb8e39439840.tar.gz forums-1de40e68393be43fa818a1504dbebb8e39439840.tar.bz2 forums-1de40e68393be43fa818a1504dbebb8e39439840.tar.xz forums-1de40e68393be43fa818a1504dbebb8e39439840.zip |
#9879
git-svn-id: file:///svn/phpbb/trunk@7362 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/style.php')
-rw-r--r-- | phpBB/style.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/style.php b/phpBB/style.php index 7a2ed500c6..4ea1d51aaa 100644 --- a/phpBB/style.php +++ b/phpBB/style.php @@ -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 |