Skip to content

Commit 1d7d6a5

Browse files
Pantheon Automationgreg-1-anderson
Pantheon Automation
authored andcommitted
Update to Drupal 7.80. For more information, see https://www.drupal.org/project/drupal/releases/7.80
1 parent 93a3c77 commit 1d7d6a5

File tree

4 files changed

+44
-13
lines changed

4 files changed

+44
-13
lines changed

CHANGELOG.txt

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
Drupal 7.80, 2021-04-20
2+
-----------------------
3+
- Fixed security issues:
4+
- SA-CORE-2021-002
5+
16
Drupal 7.79, 2021-04-07
27
-----------------------
38
- Initial support for PHP 8

includes/bootstrap.inc

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
/**
99
* The current system version.
1010
*/
11-
define('VERSION', '7.79');
11+
define('VERSION', '7.80');
1212

1313
/**
1414
* Core API compatibility.

includes/common.inc

+7-1
Original file line numberDiff line numberDiff line change
@@ -1618,7 +1618,13 @@ function _filter_xss_attributes($attr) {
16181618
// Attribute name, href for instance.
16191619
if (preg_match('/^([-a-zA-Z]+)/', $attr, $match)) {
16201620
$attrname = strtolower($match[1]);
1621-
$skip = ($attrname == 'style' || substr($attrname, 0, 2) == 'on');
1621+
$skip = (
1622+
$attrname == 'style' ||
1623+
substr($attrname, 0, 2) == 'on' ||
1624+
substr($attrname, 0, 1) == '-' ||
1625+
// Ignore long attributes to avoid unnecessary processing overhead.
1626+
strlen($attrname) > 96
1627+
);
16221628
$working = $mode = 1;
16231629
$attr = preg_replace('/^[-a-zA-Z]+/', '', $attr);
16241630
}

sites/default/default.settings.php

+31-11
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@
323323
*
324324
* To see what PHP settings are possible, including whether they can be set at
325325
* runtime (by using ini_set()), read the PHP documentation:
326-
* http://www.php.net/manual/en/ini.list.php
326+
* http://www.php.net/manual/ini.list.php
327327
* See drupal_environment_initialize() in includes/bootstrap.inc for required
328328
* runtime settings and the .htaccess file for non-runtime settings. Settings
329329
* defined there should not be duplicated here so as to avoid conflict issues.
@@ -359,7 +359,7 @@
359359
* output filter may not have sufficient memory to process it. If you
360360
* experience this issue, you may wish to uncomment the following two lines
361361
* and increase the limits of these variables. For more information, see
362-
* http://php.net/manual/en/pcre.configuration.php.
362+
* http://php.net/manual/pcre.configuration.php.
363363
*/
364364
# ini_set('pcre.backtrack_limit', 200000);
365365
# ini_set('pcre.recursion_limit', 200000);
@@ -634,15 +634,6 @@
634634
*/
635635
# $conf['allow_authorize_operations'] = FALSE;
636636

637-
/**
638-
* Smart start:
639-
*
640-
* If you would prefer to be redirected to the installation system when a
641-
* valid settings.php file is present but no tables are installed, remove
642-
* the leading hash sign below.
643-
*/
644-
# $conf['pressflow_smart_start'] = TRUE;
645-
646637
/**
647638
* Theme debugging:
648639
*
@@ -711,6 +702,15 @@
711702
*/
712703
# $conf['variable_initialize_wait_for_lock'] = FALSE;
713704

705+
/**
706+
* Opt in to field_sql_storage_field_storage_write() optimization.
707+
*
708+
* To reduce unnecessary writes field_sql_storage_field_storage_write() can skip
709+
* fields where values have apparently not changed. To opt in to this
710+
* optimization, set this variable to TRUE.
711+
*/
712+
$conf['field_sql_storage_skip_writing_unchanged_fields'] = TRUE;
713+
714714
/**
715715
* Use site name as display-name in outgoing mail.
716716
*
@@ -725,3 +725,23 @@
725725
* @see drupal_mail()
726726
*/
727727
$conf['mail_display_name_site_name'] = TRUE;
728+
729+
/**
730+
* SameSite cookie attribute.
731+
*
732+
* This variable can be used to set a value for the SameSite cookie attribute.
733+
*
734+
* Versions of PHP before 7.3 have no native support for the SameSite attribute
735+
* so it is emulated.
736+
*
737+
* The session.cookie-samesite setting in PHP 7.3 and later will be overridden
738+
* by this variable for Drupal session cookies, and any other cookies managed
739+
* with drupal_setcookie().
740+
*
741+
* Setting this variable to FALSE disables the SameSite attribute on cookies.
742+
*
743+
* @see drupal_setcookie()
744+
* @see drupal_session_start()
745+
* @see https://www.php.net/manual/en/session.configuration.php#ini.session.cookie-samesite
746+
*/
747+
#$conf['samesite_cookie_value'] = 'None';

0 commit comments

Comments
 (0)