- Fixed incomplete input checking.
parent
adb93fad37
commit
1c3a303253
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue