Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Commit

Permalink
Fix content security policy
Browse files Browse the repository at this point in the history
  • Loading branch information
sdford committed May 17, 2018
1 parent 3bc2f37 commit c24744d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public class SecurityHttpHeaders extends DefaultHttpHeaders {
* https://en.wikipedia.org/wiki/Content_Security_Policy
*/
private static final String CONTENT_SECURITY_POLICY_HEADER_NAME = "Content-Security-Policy";
private static final String CONTENT_SECURITY_POLICY_HEADER_VALUE = "default-src 'none'; connect-src 'self'; font-src https://web.nike.com; img-src 'self'; script-src 'self'; style-src 'unsafe-inline' https://web.nike.com/; frame-ancestors 'none';";
private static final String CONTENT_SECURITY_POLICY_HEADER_VALUE = "default-src 'none'; connect-src 'self'; font-src https://web.nike.com; img-src 'self'; script-src 'self'; style-src 'unsafe-inline' https://web.nike.com/; worker-src 'self' blob:; frame-ancestors 'none';";

/**
* Referrer Policy header can restrict referrer information sent by browser
Expand Down

0 comments on commit c24744d

Please sign in to comment.