From 1efb9b303e9d38be5d9f6dd991d09ae65e894728 Mon Sep 17 00:00:00 2001 From: Abhishek Kandoi Date: Thu, 2 May 2013 12:21:39 +0530 Subject: [PATCH 1/3] Fixed creation of global variables where_clause and transform_key --- tbl_get_field.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/tbl_get_field.php b/tbl_get_field.php index a537a82d41..ada209f46e 100644 --- a/tbl_get_field.php +++ b/tbl_get_field.php @@ -12,6 +12,20 @@ require_once 'libraries/common.inc.php'; require_once 'libraries/mime.lib.php'; +/** + * Sets globals from $_GET + */ +$get_params = array( + 'where_clause', + 'transform_key' +); + +foreach ($get_params as $one_get_param) { + if (isset($_GET[$one_get_param])) { + $GLOBALS[$one_get_param] = $_GET[$one_get_param]; + } +} + /* Check parameters */ PMA_Util::checkParameters( array('db', 'table', 'where_clause', 'transform_key') From 66f3af63dd2365b53efec887393b95fff917fa6b Mon Sep 17 00:00:00 2001 From: Abhishek Kandoi Date: Thu, 2 May 2013 12:48:45 +0530 Subject: [PATCH 2/3] Added disableAjax class for Blob content --- libraries/DisplayResults.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/DisplayResults.class.php b/libraries/DisplayResults.class.php index 6a399c56f1..039bd13183 100644 --- a/libraries/DisplayResults.class.php +++ b/libraries/DisplayResults.class.php @@ -5415,7 +5415,7 @@ class PMA_DisplayResults /* Create link to download */ if (count($url_params) > 0) { $result = '' + . PMA_generate_common_url($url_params) . '" class="disableAjax">' . $result . ''; } } From 458888808ed092ebb311bbe23fb7d7e9139abc24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Thu, 2 May 2013 10:58:38 +0200 Subject: [PATCH 3/3] Changelog entry --- ChangeLog | 1 + 1 file changed, 1 insertion(+) diff --git a/ChangeLog b/ChangeLog index 855c0735b8..49dd373f07 100644 --- a/ChangeLog +++ b/ChangeLog @@ -13,6 +13,7 @@ phpMyAdmin - ChangeLog - bug #3899 Git commit links to Github missing - bug #3900 CSP WARN in Firefox console - bug #3901 Setup script warning for config auth (stored login data) shows link BBcode +- bug #3895 [browse] Fixed getting BLOB data 4.0.0.0 (not yet released) + Patch #3481047 for rfe #3480477 Insert as new row enhancement