Skip to content

Commit

Permalink
Apply CGL
Browse files Browse the repository at this point in the history
  • Loading branch information
sfroemkenjw committed Jan 8, 2025
1 parent d1a986b commit a1daebf
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions Configuration/ContentSecurityPolicies.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

declare(strict_types=1);

/*
* This file is part of the package jweiland/avalex.
*
* For the full copyright and license information, please read the
* LICENSE file that was distributed with this source code.
*/

use TYPO3\CMS\Core\Security\ContentSecurityPolicy\Directive;
use TYPO3\CMS\Core\Security\ContentSecurityPolicy\HashValue;
use TYPO3\CMS\Core\Security\ContentSecurityPolicy\Mutation;
Expand All @@ -24,9 +31,9 @@
Directive::ScriptSrc,
$hashScriptTagBody,
$hashButtonEvent,
SourceKeyword::unsafeHashes
SourceKeyword::unsafeHashes,
),
),
]
],
);
});

0 comments on commit a1daebf

Please sign in to comment.