From 71295834ea0762b9de8d265830ce99ecbd73b58c Mon Sep 17 00:00:00 2001 From: "Alexander M. Turek" Date: Sun, 1 Dec 2002 20:00:25 +0000 Subject: [PATCH] bug #641652 --- ChangeLog | 3 +++ libraries/grab_globals.lib.php3 | 3 +++ 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index 845af6a81..f556c3c6c 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,9 @@ phpMyAdmin - Changelog $Id$ $Source$ +2002-12-01 Alexander M. Turek + * libaries/grab_globals.lib.php3: Merged a possible fix against bug #641652. + 2002-12-01 Marc Delisle * user_details.php3: the script wrongly created a user % when asked to create an anonymous user (should be empty) diff --git a/libraries/grab_globals.lib.php3 b/libraries/grab_globals.lib.php3 index ac38b90f7..e0316cfd4 100644 --- a/libraries/grab_globals.lib.php3 +++ b/libraries/grab_globals.lib.php3 @@ -54,6 +54,9 @@ if (!defined('PMA_GRAB_GLOBALS_INCLUDED')) { if (isset($table)) { $table = stripslashes($table); } + if (isset($sql_query)) { + $sql_query = stripslashes($sql_query); + } } } // $__PMA_GRAB_GLOBALS_LIB__