From 8f0d8de0aee01af5e357675f9e2c985e8ff214c9 Mon Sep 17 00:00:00 2001 From: garvinhicking <garvinhicking> Date: Mon, 20 Feb 2006 09:29:31 +0000 Subject: [PATCH] patch by rasmus for right value fetching --- include/compat.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/compat.inc.php b/include/compat.inc.php index 94b2045..4f380b8 100644 --- a/include/compat.inc.php +++ b/include/compat.inc.php @@ -96,7 +96,7 @@ if (!isset($_SERVER)) { $_SERVER = &$HTTP_SERVER_VARS; } -if (extension_loaded('filter') && ini_get('filter.default') !== FILTER_UNSAFE_RAW) { +if (extension_loaded('filter') && input_name_to_filter(ini_get('filter.default')) !== FILTER_UNSAFE_RAW) { foreach ($_POST as $key => $value) { $_POST[$key] = input_get(INPUT_POST, $key, FILTER_UNSAFE_RAW); } -- 2.39.5