Skip to content

Commit a5f941d

Browse files
Pantheon AutomationJohn Spellman
Pantheon Automation
authored and
John Spellman
committed
Update to Drupal 7.97. For more information, see https://www.drupal.org/project/drupal/releases/7.97
1 parent 5521488 commit a5f941d

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

CHANGELOG.txt

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
Drupal 7.97, 2023-04-21
2+
-----------------------
3+
- Fix PHP 5.x regression caused by SA-CORE-2023-005
4+
15
Drupal 7.96, 2023-04-19
26
-----------------------
37
- Fixed security issues:

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.96');
11+
define('VERSION', '7.97');
1212

1313
/**
1414
* Core API compatibility.

includes/file.inc

+1-1
Original file line numberDiff line numberDiff line change
@@ -2753,7 +2753,7 @@ function file_uri_normalize_dot_segments($uri) {
27532753
if ($target !== FALSE) {
27542754
if (!in_array($scheme, variable_get('file_sa_core_2023_005_schemes', array()))) {
27552755
$class = file_stream_wrapper_get_class($scheme);
2756-
$is_local = is_subclass_of($class, DrupalLocalStreamWrapper::class);
2756+
$is_local = is_subclass_of($class, 'DrupalLocalStreamWrapper');
27572757
if ($is_local) {
27582758
$target = str_replace(DIRECTORY_SEPARATOR, '/', $target);
27592759
}

modules/system/system.module

+1-1
Original file line numberDiff line numberDiff line change
@@ -4100,7 +4100,7 @@ function system_file_download($uri) {
41004100
if (!in_array($scheme, variable_get('file_sa_core_2023_005_schemes', array()))) {
41014101
if (DIRECTORY_SEPARATOR !== '/') {
41024102
$class = file_stream_wrapper_get_class($scheme);
4103-
if (is_subclass_of($class, DrupalLocalStreamWrapper::class)) {
4103+
if (is_subclass_of($class, 'DrupalLocalStreamWrapper')) {
41044104
$target = str_replace(DIRECTORY_SEPARATOR, '/', $target);
41054105
}
41064106
}

0 commit comments

Comments
 (0)