Unverified Commit dcd44643 authored by Lee Rowlands's avatar Lee Rowlands
Browse files

Issue #1538118 by dww, swentel, dawehner, pwolanin, sanduhrs, alexpott,...

Issue #1538118 by dww, swentel, dawehner, pwolanin, sanduhrs, alexpott, ayushmishra206, Wim Leers, yogeshmpawar, mgifford, cilefen, David_Rothstein, drumm, larowlan, Heine, colan, tedbow, benjifisher, klausi, borisson_, quietone: Update status does not verify the identity or authenticity of the release history URL
parent d598f541
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -307,6 +307,20 @@
 */
$settings['update_free_access'] = FALSE;

/**
 * Fallback to HTTP for Update Manager.
 *
 * If your Drupal site fails to connect to updates.drupal.org using HTTPS to
 * fetch Drupal core, module and theme update status, you may uncomment this
 * setting and set it to TRUE to allow an insecure fallback to HTTP. Note that
 * doing so will open your site up to a potential man-in-the-middle attack. You
 * should instead attempt to resolve the issues before enabling this option.
 * @see https://www.drupal.org/docs/system-requirements/php-requirements#openssl
 * @see https://en.wikipedia.org/wiki/Man-in-the-middle_attack
 * @see \Drupal\update\UpdateFetcher
 */
# $settings['update_fetch_with_http_fallback'] = TRUE;

/**
 * External access proxy settings:
 *
+1 −1
Original line number Diff line number Diff line
@@ -47270,7 +47270,7 @@
  'name' => 'update',
  'type' => 'module',
  'owner' => '',
  'status' => '0',
  'status' => '1',
  'throttle' => '0',
  'bootstrap' => '0',
  'schema_version' => '-1',
+2 −0
Original line number Diff line number Diff line
@@ -29,6 +29,7 @@ class Upgrade6Test extends MigrateUpgradeExecuteTestBase {
    'book',
    'forum',
    'statistics',
    'update',
  ];

  /**
@@ -166,6 +167,7 @@ protected function getAvailablePaths() {
      'System',
      'Taxonomy',
      'Text',
      'Update status',
      'Upload',
      'User',
      'User Reference',
+12 −0
Original line number Diff line number Diff line
# Schema for the migration source plugins.

migrate.source.update_settings:
  type: migrate_source_sql
  label: 'Drupal update settings'
  mapping:
    variables:
      type: sequence
      label: 'Variables'
      sequence:
        type: string
        label: 'Variable'
+1 −1
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@ migration_tags:
  - Drupal 7
  - Configuration
source:
  plugin: variable
  plugin: update_settings
  variables:
    - update_max_fetch_attempts
    - update_fetch_url
Loading