File tree 4 files changed +7
-3
lines changed
4 files changed +7
-3
lines changed Original file line number Diff line number Diff line change
1
+ Drupal 7.97, 2023-04-21
2
+ -----------------------
3
+ - Fix PHP 5.x regression caused by SA-CORE-2023-005
4
+
1
5
Drupal 7.96, 2023-04-19
2
6
-----------------------
3
7
- Fixed security issues:
Original file line number Diff line number Diff line change 8
8
/**
9
9
* The current system version.
10
10
*/
11
- define ('VERSION ' , '7.96 ' );
11
+ define ('VERSION ' , '7.97 ' );
12
12
13
13
/**
14
14
* Core API compatibility.
Original file line number Diff line number Diff line change @@ -2753,7 +2753,7 @@ function file_uri_normalize_dot_segments($uri) {
2753
2753
if ($ target !== FALSE ) {
2754
2754
if (!in_array ($ scheme , variable_get ('file_sa_core_2023_005_schemes ' , array ()))) {
2755
2755
$ class = file_stream_wrapper_get_class ($ scheme );
2756
- $ is_local = is_subclass_of ($ class , DrupalLocalStreamWrapper::class );
2756
+ $ is_local = is_subclass_of ($ class , ' DrupalLocalStreamWrapper ' );
2757
2757
if ($ is_local ) {
2758
2758
$ target = str_replace (DIRECTORY_SEPARATOR , '/ ' , $ target );
2759
2759
}
Original file line number Diff line number Diff line change @@ -4100,7 +4100,7 @@ function system_file_download($uri) {
4100
4100
if (!in_array($scheme, variable_get('file_sa_core_2023_005_schemes', array()))) {
4101
4101
if (DIRECTORY_SEPARATOR !== '/') {
4102
4102
$class = file_stream_wrapper_get_class($scheme);
4103
- if (is_subclass_of($class, DrupalLocalStreamWrapper::class )) {
4103
+ if (is_subclass_of($class, ' DrupalLocalStreamWrapper' )) {
4104
4104
$target = str_replace(DIRECTORY_SEPARATOR, '/', $target);
4105
4105
}
4106
4106
}
You can’t perform that action at this time.
0 commit comments