diff --git a/framework-docs/modules/ROOT/pages/web/webflux-cors.adoc b/framework-docs/modules/ROOT/pages/web/webflux-cors.adoc index eff3fc77cd0..dc2c136ecc1 100644 --- a/framework-docs/modules/ROOT/pages/web/webflux-cors.adoc +++ b/framework-docs/modules/ROOT/pages/web/webflux-cors.adoc @@ -39,9 +39,9 @@ required CORS response headers set. In order to enable cross-origin requests (that is, the `Origin` header is present and differs from the host of the request), you need to have some explicitly declared CORS -configuration. If no matching CORS configuration is found, preflight requests are -rejected. No CORS headers are added to the responses of simple and actual CORS requests -and, consequently, browsers reject them. +configuration. If no matching CORS configuration is found, no CORS headers are added to +the responses to preflight, simple and actual CORS requests and, consequently, browsers +reject them. Each `HandlerMapping` can be {spring-framework-api}/web/reactive/handler/AbstractHandlerMapping.html#setCorsConfigurations(java.util.Map)[configured] diff --git a/framework-docs/modules/ROOT/pages/web/webmvc-cors.adoc b/framework-docs/modules/ROOT/pages/web/webmvc-cors.adoc index 2c9e41bea4a..1e6f1be29df 100644 --- a/framework-docs/modules/ROOT/pages/web/webmvc-cors.adoc +++ b/framework-docs/modules/ROOT/pages/web/webmvc-cors.adoc @@ -66,9 +66,9 @@ required CORS response headers set. In order to enable cross-origin requests (that is, the `Origin` header is present and differs from the host of the request), you need to have some explicitly declared CORS -configuration. If no matching CORS configuration is found, preflight requests are -rejected. No CORS headers are added to the responses of simple and actual CORS requests -and, consequently, browsers reject them. +configuration. If no matching CORS configuration is found, no CORS headers are added to +the responses to preflight, simple and actual CORS requests and, consequently, browsers +reject them. Each `HandlerMapping` can be {spring-framework-api}/web/servlet/handler/AbstractHandlerMapping.html#setCorsConfigurations(java.util.Map)[configured]