Skip to content
Snippets Groups Projects
Commit 0d6cd441 authored by Ted Bowman's avatar Ted Bowman
Browse files

Contrib: allow any version of core in build tests to allow gitlab core clone...

Contrib: allow any version of core in build tests to allow gitlab core clone tests - project/automatic_updates@7a8446a8
parent a48fa3fc
No related branches found
No related tags found
No related merge requests found
Pipeline #69633 failed
Pipeline: drupal-3411111

#69636

    ......@@ -123,8 +123,10 @@ public function onRespond(ResponseEvent $event) {
    // different from the declared content-type, since that can lead to
    // XSS and other vulnerabilities.
    // https://owasp.org/www-project-secure-headers
    $response->headers->set('X-Content-Type-Options', 'nosniff', FALSE);
    $response->headers->set('X-Frame-Options', 'SAMEORIGIN', FALSE);
    $response->headers->set('X-Content-Type-Options', 'nosniff');
    if (!$response->headers->has('X-Frame-Options')) {
    $response->headers->set('X-Frame-Options', 'SAMEORIGIN');
    }
    // If the current response isn't an implementation of the
    // CacheableResponseInterface, we assume that a Response is either
    ......
    ......@@ -30,9 +30,12 @@ class ComposerProjectTemplatesTest extends ComposerBuildTestBase {
    /**
    * The minimum stability requirement for dependencies.
    *
    * @todo Temporarily changing to 'beta' to allow php-tuf/composer-stager
    * dependency. This will be done in https://drupal.org/i/3331078.
    *
    * @see https://getcomposer.org/doc/04-schema.md#minimum-stability
    */
    protected const MINIMUM_STABILITY = 'stable';
    protected const MINIMUM_STABILITY = 'beta';
    /**
    * The order of stability strings from least stable to most stable.
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment