Commit 1c3a3032 authored by Dries's avatar Dries

- Fixed incomplete input checking.
parent adb93fad
......@@ -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)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment