Skip to content

Commit

Permalink
Update content-security-policy.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
dcog989 authored Mar 14, 2024
1 parent 83b6b66 commit 7ea0e1b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions h5bp/security/content-security-policy.conf
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,12 @@

<IfModule mod_headers.c>
# (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;"\
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 7ea0e1b

Please sign in to comment.