updated core to 7.79
This commit is contained in:
@@ -6,8 +6,7 @@ core = 7.x
|
||||
dependencies[] = field
|
||||
files[] = tests/file.test
|
||||
|
||||
; Information added by Drupal.org packaging script on 2018-03-28
|
||||
version = "7.58"
|
||||
; Information added by Drupal.org packaging script on 2018-04-25
|
||||
version = "7.59"
|
||||
project = "drupal"
|
||||
datestamp = "1522264019"
|
||||
|
||||
datestamp = "1524673284"
|
||||
|
@@ -239,6 +239,9 @@ function file_ajax_upload() {
|
||||
$form_parents = func_get_args();
|
||||
$form_build_id = (string) array_pop($form_parents);
|
||||
|
||||
// Sanitize form parents before using them.
|
||||
$form_parents = array_filter($form_parents, 'element_child');
|
||||
|
||||
if (empty($_POST['form_build_id']) || $form_build_id != $_POST['form_build_id']) {
|
||||
// Invalid request.
|
||||
drupal_set_message(t('An unrecoverable error occurred. The uploaded file likely exceeded the maximum file size (@size) that this server supports.', array('@size' => format_size(file_upload_max_size()))), 'error');
|
||||
|
@@ -5,8 +5,7 @@ version = VERSION
|
||||
core = 7.x
|
||||
hidden = TRUE
|
||||
|
||||
; Information added by Drupal.org packaging script on 2018-03-28
|
||||
version = "7.58"
|
||||
; Information added by Drupal.org packaging script on 2018-04-25
|
||||
version = "7.59"
|
||||
project = "drupal"
|
||||
datestamp = "1522264019"
|
||||
|
||||
datestamp = "1524673284"
|
||||
|
Reference in New Issue
Block a user