Explorar o código

Merge pull request #152 from christopherp/SEC-2800

SEC-2800 Documentation typo in class name
Rob Winch %!s(int64=10) %!d(string=hai) anos
pai
achega
07124311da
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      docs/manual/src/docs/asciidoc/index.adoc

+ 2 - 2
docs/manual/src/docs/asciidoc/index.adoc

@@ -3672,8 +3672,8 @@ public class WebSecurityConfig extends
     http
       // ...
       .headers()
-        .addHeaderWriter(new StaticHeaderWriter("X-Content-Security-Policy","default-src 'self'"))
-        .addHeaderWriter(new StaticHeaderWriter("X-WebKit-CSP","default-src 'self'"));
+        .addHeaderWriter(new StaticHeadersWriter("X-Content-Security-Policy","default-src 'self'"))
+        .addHeaderWriter(new StaticHeadersWriter("X-WebKit-CSP","default-src 'self'"));
   }
 }
 ----