Skip to content

Commit

Permalink
Update content-security-policy.conf
Browse files Browse the repository at this point in the history
Fix incorrect location of comment line.
  • Loading branch information
dcog989 authored Mar 12, 2024
1 parent aafee21 commit c6edca9
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions h5bp/security/content-security-policy.conf
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,13 @@
# https://content-security-policy.com/

<IfModule mod_headers.c>
Header always set Content-Security-Policy "
# (1) (2) (3) (4) (5) (6) (7)
default-src 'self';
base-uri 'none';
form-action 'self';
frame-ancestors 'none';
object-src 'none';
upgrade-insecure-requests;"
"expr=%{CONTENT_TYPE} =~ m#text\/(html|javascript)|application\/pdf|xml#i"
# (1) (2) (3) (4) (5) (6) (7)
Header always set Content-Security-Policy "
default-src 'self';
base-uri 'none';
form-action 'self';
frame-ancestors 'none';
object-src 'none';
upgrade-insecure-requests;"
"expr=%{CONTENT_TYPE} =~ m#text\/(html|javascript)|application\/pdf|xml#i"
</IfModule>

0 comments on commit c6edca9

Please sign in to comment.