From eb69c015ac61283e972d0821fe9cfc2c0f70e4e0 Mon Sep 17 00:00:00 2001 From: Madhura Jayaratne Date: Fri, 12 Dec 2014 15:26:00 +0530 Subject: [PATCH] #4644 Error when browsing tables Signed-off-by: Madhura Jayaratne --- ChangeLog | 1 + libraries/Util.class.php | 12 +++++++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8df84a65eb..a811b891b2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -14,6 +14,7 @@ phpMyAdmin - ChangeLog - bug #3794 failure to handle repeating empty columns when importing ODS - bug #4638 Default Export Method setting broken - bug #4639 Export SQL missing indentation first field +- bug #4644 Error when browsing tables 4.3.1.0 (2014-12-08) - bug #4609 'Show all' checkbox label is not clickable diff --git a/libraries/Util.class.php b/libraries/Util.class.php index 7dd37cf2e6..bdb9035711 100644 --- a/libraries/Util.class.php +++ b/libraries/Util.class.php @@ -1820,11 +1820,13 @@ class PMA_Util if ($suhosin_get_MaxValueLength) { $query_parts = self::splitURLQuery($url); foreach ($query_parts as $query_pair) { - list(, $eachval) = explode('=', $query_pair); - if (/*overload*/mb_strlen($eachval) > $suhosin_get_MaxValueLength - ) { - $in_suhosin_limits = false; - break; + if (strpos($query_pair, '=') !== false) { + list(, $eachval) = explode('=', $query_pair); + if (/*overload*/mb_strlen($eachval) > $suhosin_get_MaxValueLength + ) { + $in_suhosin_limits = false; + break; + } } } }