Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 04dfb0d

Browse filesBrowse files
Fix code standard
1 parent 56d07cd commit 04dfb0d
Copy full SHA for 04dfb0d

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎src/Symfony/Bundle/WebProfilerBundle/Csp/ContentSecurityPolicyHandler.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/WebProfilerBundle/Csp/ContentSecurityPolicyHandler.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ private function hasHashOrNonce(array $directives): bool
224224
if (!str_ends_with($directive, '\'')) {
225225
continue;
226226
}
227-
if (str_starts_with($directive,'\'nonce-')) {
227+
if (str_starts_with($directive, '\'nonce-')) {
228228
return true;
229229
}
230230
if (\in_array(substr($directive, 0, 8), ['\'sha256-', '\'sha384-', '\'sha512-'], true)) {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.