From d8f11a84a433ef357cfda1d25afe57d701e5f55f Mon Sep 17 00:00:00 2001 From: Madhura Jayaratne Date: Sat, 8 Jul 2017 20:47:45 +1000 Subject: [PATCH] Fix #13447 Large multi-line query removes Export operation and blanks query box options This is not a guaranteed method of detecting image upload into a BLOB field Signed-off-by: Madhura Jayaratne --- ChangeLog | 1 + libraries/Util.php | 5 ----- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index d74ae3799c..e54fa938ea 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,7 @@ phpMyAdmin - ChangeLog ====================== 4.7.3 (not yet released) +- issue #13447 Large multi-line query removes Export operation and blanks query box options 4.7.2 (2017-06-29) - issue #13314 Make theme selection keep current server diff --git a/libraries/Util.php b/libraries/Util.php index 827005df1c..57715edeff 100644 --- a/libraries/Util.php +++ b/libraries/Util.php @@ -1768,11 +1768,6 @@ class Util $new_form = true, $strip_img = false, $target = '', $force_button = false ) { $url_length = mb_strlen($url); - // with this we should be able to catch case of image upload - // into a (MEDIUM) BLOB; not worth generating even a form for these - if ($url_length > $GLOBALS['cfg']['LinkLengthLimit'] * 100) { - return ''; - } if (! is_array($tag_params)) { $tmp = $tag_params;