From 1c3a3032533e67269bf21c0bd055a8fd5530c772 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 17 Jan 2004 23:19:02 +0000 Subject: [PATCH] - Fixed incomplete input checking. --- includes/common.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/common.inc b/includes/common.inc index c9ad825655d..d2303bd3192 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -553,7 +553,7 @@ function valid_input_data($data) { */ foreach ($data as $key => $value) { - if (!valid_input_data($value)) { + if (!valid_input_data($key) || !valid_input_data($value)) { return 0; } } @@ -968,7 +968,7 @@ function drupal_get_normal_path($path) { function url($url = NULL, $query = NULL, $fragment = NULL) { global $base_url; - + static $script; if (empty($script)) {