- Fixed incomplete input checking.

4.4.x
Dries Buytaert 2004-01-17 23:19:02 +00:00
parent adb93fad37
commit 1c3a303253
1 changed files with 2 additions and 2 deletions

View File

@ -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)) {