This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/EventSubscriber/CacheControlEventSubscriber.php b/src/EventSubscriber/CacheControlEventSubscriber.php | |
index 89a627cc91fa1c889ac56f56ce597aea761ffb66..1606de60ef1ef229ef0f6accc415ca7dc3fa0742 100644 | |
--- a/src/EventSubscriber/CacheControlEventSubscriber.php | |
+++ b/src/EventSubscriber/CacheControlEventSubscriber.php | |
@@ -69,10 +69,14 @@ class CacheControlEventSubscriber implements EventSubscriberInterface { | |
if ($ttl != $response->getMaxAge()) { | |
$response->setClientTtl($ttl); | |
- $response->setSharedMaxAge($ttl); | |
+ if (!$response->headers->hasCacheControlDirective('s-maxage')) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 879ca9086bfb735252d0c5e1681b9cf0c2c09341 Mon Sep 17 00:00:00 2001 | |
From: Ciprian Stavovei <ciprian@drunomics.com> | |
Date: Tue, 22 Mar 2022 15:56:50 +0200 | |
Subject: [PATCH] #183: Fix for PelIllegalFormatException: Unknown format: 0x0. | |
--- | |
src/PelFormat.php | 13 +++++++++++-- | |
1 file changed, 11 insertions(+), 2 deletions(-) | |
diff --git a/src/PelFormat.php b/src/PelFormat.php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/core/modules/user/src/Entity/Role.php b/core/modules/user/src/Entity/Role.php | |
index 18194f3390..7417234062 100644 | |
--- a/core/modules/user/src/Entity/Role.php | |
+++ b/core/modules/user/src/Entity/Role.php | |
@@ -204,7 +204,7 @@ public function calculateDependencies() { | |
$valid_permissions = array_intersect($this->permissions, array_keys($permission_definitions)); | |
$invalid_permissions = array_diff($this->permissions, $valid_permissions); | |
if (!empty($invalid_permissions)) { | |
- throw new \RuntimeException('Adding non-existent permissions to a role is not allowed. The incorrect permissions are "' . implode('", "', $invalid_permissions) . '".'); | |
+ @\trigger_error('Adding non-existent permissions to a role is not allowed. The incorrect permissions are "' . implode('", "', $invalid_permissions) . '".', \E_USER_DEPRECATED); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/core/modules/field/field.module b/core/modules/field/field.module | |
index ad9b8f538b..94493a0c3a 100644 | |
--- a/core/modules/field/field.module | |
+++ b/core/modules/field/field.module | |
@@ -318,8 +318,11 @@ function field_form_config_admin_import_form_alter(&$form, FormStateInterface $f | |
$user_input = $form_state->getUserInput(); | |
$storage_comparer = $form_state->get('storage_comparer'); | |
if ($storage_comparer && empty($user_input)) { | |
+ // Method getFieldStoragesToPurge expects first array parameter to have | |
+ // 'module' key. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From e0c47758a3c589a4ad279c8480d29c0e4e0daed6 Mon Sep 17 00:00:00 2001 | |
From: Brian Tofte-Schumacher <btofte-schumacher@forumone.com> | |
Date: Wed, 17 May 2023 12:27:35 -0400 | |
Subject: [PATCH] Hide fields instead of preventing access, so the values | |
update | |
--- | |
password_policy.module | 6 +++--- | |
1 file changed, 3 insertions(+), 3 deletions(-) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From d49431fe6ceabc3d3d466f689b2a9464b2a0c0b5 Mon Sep 17 00:00:00 2001 | |
From: Andor <david-andor@kozpontiagy.hu> | |
Date: Mon, 26 Dec 2022 01:27:22 +0100 | |
Subject: [PATCH] Issue #1135 - PHP 8.2 - Fix Use of "self" in callables is | |
deprecated | |
--- | |
src/Common/CommandArguments.php | 2 +- | |
src/Task/Base/Exec.php | 2 +- | |
tests/phpunit/Task/ExecTest.php | 19 +++++++++++++++++++ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/README.md b/README.md | |
index 72a201b1d63c2c4ccfa7dfbc1a2780d2389a4c97..c5f1f4194c9378c0bff0a60a79e6b2d80673d378 100644 | |
--- a/README.md | |
+++ b/README.md | |
@@ -1,14 +1,14 @@ | |
-# Oh Dear Integration | |
+# OhDear Integration | |
-Integrates your drupal website with the [Oh Dear](https://ohdear.app) monitoring app. | |
+Integrates your drupal website with the [OhDear](https://ohdear.app) monitoring app. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/google_analytics.module b/google_analytics.module | |
index 0182a5d..83184ff 100644 | |
--- a/google_analytics.module | |
+++ b/google_analytics.module | |
@@ -270,7 +270,7 @@ function google_analytics_page_attachments(array &$page) { | |
// Per RFC 2109, cookie domains must contain at least one dot other than the | |
// first. For hosts such as 'localhost' or IP Addresses we don't set a | |
// cookie domain. | |
- if ($domain_mode == 1 && count(explode('.', $cookie_domain)) > 2 && !is_numeric(str_replace('.', '', $cookie_domain))) { | |
+ if ($domain_mode == 1 && count(explode('.', $cookie_domain ?? '')) > 2 && !is_numeric(str_replace('.', '', $cookie_domain))) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From a62d7c3d7283ad152473afec92ac1f6d65dc2d78 Mon Sep 17 00:00:00 2001 | |
From: Lio Novelli <liopold@drunomics.com> | |
Date: Fri, 2 Sep 2022 13:04:31 +0200 | |
Subject: [PATCH 01/13] Add requirements recap sensor plugin. | |
--- | |
.../RequirementsRecapSensorPlugin.php | 156 ++++++++++++++++++ | |
1 file changed, 156 insertions(+) | |
create mode 100644 src/Plugin/monitoring/SensorPlugin/RequirementsRecapSensorPlugin.php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From a69b1ddfaee8be5160c46b40f7dde4cdcbd8c17b Mon Sep 17 00:00:00 2001 | |
From: Wong Hoi Sing Edison <hswong3i@pantarei-design.com> | |
Date: Sun, 16 Jan 2022 23:51:01 +0800 | |
Subject: [PATCH] Issue #3255637: htmlspecialchars(): Passing null to parameter | |
#1 ($string) of type string is deprecated | |
--- | |
core/lib/Drupal/Component/Render/FormattableMarkup.php | 2 +- | |
.../Tests/Component/Render/FormattableMarkupTest.php | 10 ++++++++++ | |
2 files changed, 11 insertions(+), 1 deletion(-) |
NewerOlder