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

Commit

Permalink
Merge pull request #158 from Nike-Inc/bugfix/session-timeout-not-in-f…
Browse files Browse the repository at this point in the history
…ocus

Fix content security policy
  • Loading branch information
sdford authored May 17, 2018
2 parents 3bc2f37 + 0b8cbd2 commit 6b879a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
# limitations under the License.
#

version=3.15.3
version=3.15.4
groupId=com.nike.cerberus
artifactId=cms
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 6b879a0

Please sign in to comment.