updated core to 7.79

This commit is contained in:
2018-05-23 18:32:16 +02:00
parent b3e863e943
commit 4cb8f6aee1
138 changed files with 460 additions and 607 deletions

View File

@@ -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"

View File

@@ -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');

View File

@@ -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"