Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrobocoder <anthon.pang@gmail.com>2010-12-18 16:41:53 +0300
committerrobocoder <anthon.pang@gmail.com>2010-12-18 16:41:53 +0300
commitee6efcb8701c3378481c71245651e71389001084 (patch)
tree0a985d10c2212efcd4585b25aee78f0c8265eede /plugins/SecurityInfo/PhpSecInfo
parentcc145e464d11db069176ddd1a4aa5da08a533c48 (diff)
fixes #1900 - use safe_unserialize() for third-party content; for signed cookies, replace serialize/unserialize with more compact, json_encode()/json_decode()
git-svn-id: http://dev.piwik.org/svn/trunk@3460 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'plugins/SecurityInfo/PhpSecInfo')
-rw-r--r--plugins/SecurityInfo/PhpSecInfo/Test/Application/php.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SecurityInfo/PhpSecInfo/Test/Application/php.php b/plugins/SecurityInfo/PhpSecInfo/Test/Application/php.php
index 0a6a7b6fe9..264f58ca84 100644
--- a/plugins/SecurityInfo/PhpSecInfo/Test/Application/php.php
+++ b/plugins/SecurityInfo/PhpSecInfo/Test/Application/php.php
@@ -32,7 +32,7 @@ class PhpSecInfo_Test_Application_Php extends PhpSecInfo_Test_Application
$timeout = Piwik_UpdateCheck::SOCKET_TIMEOUT;
try {
$latestVersion = Piwik_Http::sendHttpRequest($url, $timeout);
- $versionInfo = Piwik_Common::unserialize_array($latestVersion);
+ $versionInfo = safe_unserialize($latestVersion);
$this->recommended_value = $versionInfo['version'];
} catch(Exception $e) {
$this->recommended_value = '';