From 29187c2d490fcf05c93ed06643f2e5d3022ec660 Mon Sep 17 00:00:00 2001 From: jakubvrana Date: Wed, 11 Jul 2007 05:54:36 +0000 Subject: [PATCH] Ignore $_POST[session_name()] only if session.use_trans_sid is enabled git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@112 7c3ca157-0c34-0410-bff1-cbf682f78f5c --- auth.inc.php | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/auth.inc.php b/auth.inc.php index bf50f0f4..fdc1bc1f 100644 --- a/auth.inc.php +++ b/auth.inc.php @@ -1,12 +1,16 @@ connect($_GET["s } } } - } elseif ($key != "server" && $key != "username" && $key != "password") { + } elseif (!in_array($key, $ignore)) { echo ''; } }