From 42ab6736e18104f83d99507659ed00e21fb1e286 Mon Sep 17 00:00:00 2001 From: ryenus Date: Wed, 27 Nov 2019 01:35:28 +0800 Subject: [PATCH] typo fix: consecutive-word duplications (#7673) * fix typo: require require * more typo fix: consecutive-word duplications Following previously finding, I then used `rg` to find other similar typos, with false positives manually excluded, using the following command: rg -t asciidoc -Pp '\b(\w+)\s+\1\b' --- .../manual/src/docs/asciidoc/_includes/about/exploits/csrf.adoc | 2 +- .../docs/asciidoc/_includes/about/getting-spring-security.adoc | 2 +- .../src/docs/asciidoc/_includes/reactive/exploits/headers.adoc | 2 +- .../src/docs/asciidoc/_includes/servlet/exploits/headers.adoc | 2 +- .../src/docs/asciidoc/_includes/servlet/saml2/saml2-login.adoc | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/manual/src/docs/asciidoc/_includes/about/exploits/csrf.adoc b/docs/manual/src/docs/asciidoc/_includes/about/exploits/csrf.adoc index f1078f5894..647aaa6a8e 100644 --- a/docs/manual/src/docs/asciidoc/_includes/about/exploits/csrf.adoc +++ b/docs/manual/src/docs/asciidoc/_includes/about/exploits/csrf.adoc @@ -103,7 +103,7 @@ Spring provides two mechanisms to protect against CSRF attacks: [NOTE] ==== -Both protections require require that <> +Both protections require that <> ==== [[csrf-protection-idempotent]] diff --git a/docs/manual/src/docs/asciidoc/_includes/about/getting-spring-security.adoc b/docs/manual/src/docs/asciidoc/_includes/about/getting-spring-security.adoc index aa73d87dfb..46d5f21685 100644 --- a/docs/manual/src/docs/asciidoc/_includes/about/getting-spring-security.adoc +++ b/docs/manual/src/docs/asciidoc/_includes/about/getting-spring-security.adoc @@ -195,7 +195,7 @@ If you use a milestone or release candidate version, you need to ensure that you [[getting-gradle]] == Gradle -As most open source projects, Spring Security deploys its dependencies as Maven artifacts, which allows for for first-class Gradle support. +As most open source projects, Spring Security deploys its dependencies as Maven artifacts, which allows for first-class Gradle support. The following topics provide detail on how to consume Spring Security when using Gradle. [[getting-gradle-boot]] diff --git a/docs/manual/src/docs/asciidoc/_includes/reactive/exploits/headers.adoc b/docs/manual/src/docs/asciidoc/_includes/reactive/exploits/headers.adoc index 6885ee193b..0225671730 100644 --- a/docs/manual/src/docs/asciidoc/_includes/reactive/exploits/headers.adoc +++ b/docs/manual/src/docs/asciidoc/_includes/reactive/exploits/headers.adoc @@ -7,7 +7,7 @@ This section is dedicated to WebFlux based support for Security HTTP Response He [[webflux-headers-default]] == Default Security Headers -Spring Security provides a <> to provide secure defaults. +Spring Security provides a <> to provide secure defaults. While each of these headers are considered best practice, it should be noted that not all clients utilize the headers, so additional testing is encouraged. You can customize specific headers. diff --git a/docs/manual/src/docs/asciidoc/_includes/servlet/exploits/headers.adoc b/docs/manual/src/docs/asciidoc/_includes/servlet/exploits/headers.adoc index 9ae0a4afb2..19a7b55e5a 100644 --- a/docs/manual/src/docs/asciidoc/_includes/servlet/exploits/headers.adoc +++ b/docs/manual/src/docs/asciidoc/_includes/servlet/exploits/headers.adoc @@ -7,7 +7,7 @@ This section is dedicated to servlet based support for Security HTTP Response He [[servlet-headers-default]] == Default Security Headers -Spring Security provides a <> to provide secure defaults. +Spring Security provides a <> to provide secure defaults. While each of these headers are considered best practice, it should be noted that not all clients utilize the headers, so additional testing is encouraged. You can customize specific headers. diff --git a/docs/manual/src/docs/asciidoc/_includes/servlet/saml2/saml2-login.adoc b/docs/manual/src/docs/asciidoc/_includes/servlet/saml2/saml2-login.adoc index 281e2d4922..3dad68482c 100644 --- a/docs/manual/src/docs/asciidoc/_includes/servlet/saml2/saml2-login.adoc +++ b/docs/manual/src/docs/asciidoc/_includes/servlet/saml2/saml2-login.adoc @@ -226,7 +226,7 @@ public interface Saml2AuthenticationRequestFactory { [[samllogin-sample-boot]] === Spring Boot 2.x Sample -We are currently working with the the Spring Boot team on the +We are currently working with the Spring Boot team on the https://github.com/spring-projects/spring-boot/issues/18260[Auto Configuration for Spring Security SAML Login]. In the meantime, we have provided a Spring Boot sample that supports a Yaml configuration.