From 1642eaeaa060b9cc2df379dc38453c0bc55c5c96 Mon Sep 17 00:00:00 2001 From: chrisb Date: Wed, 15 Jan 2014 12:20:14 +0000 Subject: [PATCH] security fix! please update! updated robots and browsers list git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/ke_stats/trunk@83210 735d13b6-9817-0410-8766-e36946ffe9aa --- ChangeLog | 5 +++++ inc/browsers.inc.php | 3 ++- inc/robots.inc.php | 1 + pi1/class.tx_kestats_pi1.php | 4 ++-- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 89aa7e3..341cd8a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,5 @@ Current Trunk +* security fix! please update! * New feature: scheduler task. Thanks to Jonathan Heilmann. * New feature: added a changeable limitation of rows to show for each kind of view. Defaults to 1000. * added dependency in ext_emconf.php PHP 5.3. @@ -6,6 +7,10 @@ Current Trunk * bugfix: After manual grouping of the resultset we have to resort our array. * moved changelog to "Changelog" file in the extension folder instead of keeping it in doc/manual.sxw. * bugfix: fixed ordering in result table. Thanks to Jonathan Heilmann. +* task: updated browsers (Internet Explorer 11) and robots list + +Version 1.1.2 (2013/12) +* security fix: please update Version 1.1.1 (2012/10) * made ke_stats compatible with TYPO3 6.0 diff --git a/inc/browsers.inc.php b/inc/browsers.inc.php index 4150278..c88b112 100644 --- a/inc/browsers.inc.php +++ b/inc/browsers.inc.php @@ -43,8 +43,9 @@ 'MSIE 8.0' => 'Internet Explorer 8', 'MSIE 9.0' => 'Internet Explorer 9', 'MSIE 10.0' => 'Internet Explorer 10', - 'MSIE 11.0' => 'Internet Explorer 11', + 'Trident/7.0; rv:11' => 'Internet Explorer 11', 'MSIE' => 'Internet Explorer (other)', + 'Trident' => 'Internet Explorer (other)', 'iPhone' => 'iPhone', 'iPad' => 'iPad', 'iPod' => 'iPod', diff --git a/inc/robots.inc.php b/inc/robots.inc.php index 94087d1..cc5900a 100644 --- a/inc/robots.inc.php +++ b/inc/robots.inc.php @@ -31,6 +31,7 @@ // List of robots (HTTP_USER_AGENTS) $GLOBALS['robots'] = array(/*{{{*/ + 'Havij' => 'Havij Advanced SQL Injection', 'ilial/Nutch' => 'ilial/Nutch', 'nutch/Nutch' => 'nutch/Nutch', 'Mirago-Test-Robot' => 'Mirago-Test-Robot', diff --git a/pi1/class.tx_kestats_pi1.php b/pi1/class.tx_kestats_pi1.php index 993ff70..f346161 100644 --- a/pi1/class.tx_kestats_pi1.php +++ b/pi1/class.tx_kestats_pi1.php @@ -381,9 +381,9 @@ function main($content,$conf) { // get the element uid if (!empty($extConf['uidParameterWrap'])) { $extPiVars = t3lib_div::_GET($extConf['uidParameterWrap']); - $element_uid = $extPiVars[$extConf['uidParameter']]; + $element_uid = intval($extPiVars[$extConf['uidParameter']]); } else { - $element_uid = t3lib_div::_GET($extConf['uidParameter']); + $element_uid = intval(t3lib_div::_GET($extConf['uidParameter'])); } // count this element if a single view uid is given