From fc03707445b330e9cde86725af72a3afbc6b5d14 Mon Sep 17 00:00:00 2001 From: 0xflotus <0xflotus@gmail.com> Date: Mon, 1 Oct 2018 18:23:02 +0200 Subject: [PATCH] fixed ContentNegotiationConfigurer --- src/docs/asciidoc/web/webmvc.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/docs/asciidoc/web/webmvc.adoc b/src/docs/asciidoc/web/webmvc.adoc index 4724b01cac..9b052c8b3f 100644 --- a/src/docs/asciidoc/web/webmvc.adoc +++ b/src/docs/asciidoc/web/webmvc.adoc @@ -1486,13 +1486,13 @@ and security (see next section for more details) also become more difficult. To completely disable the use of file extensions, you must set both of the following: * `useSuffixPatternMatching(false)`, see <> -* `favorPathExtension(false)`, see <> +* `favorPathExtension(false)`, see <> URL-based content negotiation can still be useful (for example, when typing a URL in a browser). To enable that, we recommend a query parameter-based strategy to avoid most of the issues that come with file extensions. Alternatively, if you must use file extensions, consider restricting them to a list of explicitly registered extensions through the -`mediaTypes` property of <>. +`mediaTypes` property of <>. @@ -3936,7 +3936,7 @@ The MVC configuration exposes the following options related to asynchronous requ You can configure the following: -* Default timeout value for async requests, whichm if not set, depends +* Default timeout value for async requests, which if not set, depends on the underlying Servlet container (for example, 10 seconds on Tomcat). * `AsyncTaskExecutor` to use for blocking writes when streaming with <> and for executing `Callable` instances returned from