You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: web/src/main/java/org/springframework/security/web/server/header/ContentSecurityPolicyServerHttpHeadersWriter.java
-11Lines changed: 0 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -120,17 +120,6 @@ public void setReportOnly(boolean reportOnly) {
120
120
this.reportOnly = reportOnly;
121
121
}
122
122
123
-
/**
124
-
* Returns whether the content security policy is nonce-based. The CSP is considered
125
-
* nonce-based if the configured {@code policyDirectives} string contains a
126
-
* {@code {nonce}} placeholder.
127
-
* @return whether the content security policy is nonce-based
Copy file name to clipboardExpand all lines: web/src/test/java/org/springframework/security/web/header/writers/ContentSecurityPolicyHeaderWriterTests.java
-12Lines changed: 0 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -131,18 +131,6 @@ public void writeContentSecurityPolicyReportOnlyHeaderWhenNotPresent() {
Copy file name to clipboardExpand all lines: web/src/test/java/org/springframework/security/web/server/header/ContentSecurityPolicyServerHttpHeadersWriterTests.java
-12Lines changed: 0 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -96,18 +96,6 @@ public void writeHeadersWhenAlreadyWrittenThenDoesNotOverride() {
0 commit comments