summaryrefslogtreecommitdiffstatshomepage
path: root/core/modules
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules')
-rw-r--r--core/modules/locale/locale.compare.inc6
-rw-r--r--core/modules/path_alias/path_alias.services.yml1
-rw-r--r--core/modules/path_alias/src/AliasManager.php2
-rw-r--r--core/modules/path_alias/src/AliasWhitelist.php2
-rw-r--r--core/modules/path_alias/src/AliasWhitelistInterface.php2
-rw-r--r--core/modules/system/system.install2
6 files changed, 11 insertions, 4 deletions
diff --git a/core/modules/locale/locale.compare.inc b/core/modules/locale/locale.compare.inc
index 069f200942f5..d9ae64af89af 100644
--- a/core/modules/locale/locale.compare.inc
+++ b/core/modules/locale/locale.compare.inc
@@ -99,15 +99,15 @@ function locale_translation_project_list() {
if (empty($projects)) {
$projects = [];
- $additional_whitelist = [
+ $additional_allow_list = [
'interface translation project',
'interface translation server pattern',
];
$module_data = _locale_translation_prepare_project_list(\Drupal::service('extension.list.module')->getList(), 'module');
$theme_data = _locale_translation_prepare_project_list(\Drupal::service('extension.list.theme')->reset()->getList(), 'theme');
$project_info = new ProjectInfo();
- $project_info->processInfoList($projects, $module_data, 'module', TRUE, $additional_whitelist);
- $project_info->processInfoList($projects, $theme_data, 'theme', TRUE, $additional_whitelist);
+ $project_info->processInfoList($projects, $module_data, 'module', TRUE, $additional_allow_list);
+ $project_info->processInfoList($projects, $theme_data, 'theme', TRUE, $additional_allow_list);
// Allow other modules to alter projects before fetching and comparing.
\Drupal::moduleHandler()->alter('locale_translation_projects', $projects);
diff --git a/core/modules/path_alias/path_alias.services.yml b/core/modules/path_alias/path_alias.services.yml
index a8c7f2dfeee0..e9002aac295f 100644
--- a/core/modules/path_alias/path_alias.services.yml
+++ b/core/modules/path_alias/path_alias.services.yml
@@ -20,6 +20,7 @@ services:
tags:
- { name: backend_overridable }
Drupal\path_alias\AliasRepositoryInterface: '@path_alias.repository'
+ # cspell:ignore whitelist
path_alias.whitelist:
class: Drupal\path_alias\AliasWhitelist
tags:
diff --git a/core/modules/path_alias/src/AliasManager.php b/core/modules/path_alias/src/AliasManager.php
index c5ed8fdc2ad8..334e6730ee01 100644
--- a/core/modules/path_alias/src/AliasManager.php
+++ b/core/modules/path_alias/src/AliasManager.php
@@ -260,6 +260,8 @@ class AliasManager implements AliasManagerInterface {
* Use \Drupal\path_alias\AliasManager::pathAliasPrefixListRebuild instead.
*
* @see https://www.drupal.org/node/3467559
+ *
+ * cspell:ignore whitelist
*/
protected function pathAliasWhitelistRebuild($path = NULL) {
@trigger_error(__METHOD__ . '() is deprecated in drupal:11.1.0 and is removed from drupal:12.0.0. Use \Drupal\path_alias\AliasManager::pathAliasPrefixListRebuild() instead. See https://www.drupal.org/node/3467559', E_USER_DEPRECATED);
diff --git a/core/modules/path_alias/src/AliasWhitelist.php b/core/modules/path_alias/src/AliasWhitelist.php
index df68b35c4a25..69b0c84bad95 100644
--- a/core/modules/path_alias/src/AliasWhitelist.php
+++ b/core/modules/path_alias/src/AliasWhitelist.php
@@ -2,6 +2,8 @@
namespace Drupal\path_alias;
+// cspell:ignore whitelist
+
/**
* Cache a list of valid alias prefixes.
*
diff --git a/core/modules/path_alias/src/AliasWhitelistInterface.php b/core/modules/path_alias/src/AliasWhitelistInterface.php
index ed4ff988680b..b3172995ae25 100644
--- a/core/modules/path_alias/src/AliasWhitelistInterface.php
+++ b/core/modules/path_alias/src/AliasWhitelistInterface.php
@@ -2,6 +2,8 @@
namespace Drupal\path_alias;
+// cspell:ignore whitelist
+
/**
* Cache a list of valid alias prefixes.
*
diff --git a/core/modules/system/system.install b/core/modules/system/system.install
index 35e682600b89..9b8c25c157ed 100644
--- a/core/modules/system/system.install
+++ b/core/modules/system/system.install
@@ -478,7 +478,7 @@ function system_requirements($phase): array {
'%exception_message' => $e->getMessage(),
];
if ($open_basedir_blocks_urandom) {
- $requirements['php_random_bytes']['description'] = t('Drupal is unable to generate highly randomized numbers, which means certain security features like password reset URLs are not as secure as they should be. Instead, only a slow, less-secure fallback generator is available. The most likely cause is that open_basedir restrictions are in effect and /dev/urandom is not on the whitelist. See the <a href=":drupal-php">system requirements</a> page for more information. %exception_message', $args);
+ $requirements['php_random_bytes']['description'] = t('Drupal is unable to generate highly randomized numbers, which means certain security features like password reset URLs are not as secure as they should be. Instead, only a slow, less-secure fallback generator is available. The most likely cause is that open_basedir restrictions are in effect and /dev/urandom is not on the allowed list. See the <a href=":drupal-php">system requirements</a> page for more information. %exception_message', $args);
}
else {
$requirements['php_random_bytes']['description'] = t('Drupal is unable to generate highly randomized numbers, which means certain security features like password reset URLs are not as secure as they should be. Instead, only a slow, less-secure fallback generator is available. See the <a href=":drupal-php">system requirements</a> page for more information. %exception_message', $args);