Set favorPathExtension to false by default

Applies a change that was intended in #23915 but wasn't.

Closes gh-26119
This commit is contained in:
Rossen Stoyanchev
2020-11-24 17:30:02 +00:00
parent 3612990344
commit 80701082cd
8 changed files with 64 additions and 33 deletions

View File

@@ -108,7 +108,7 @@ public class ContentNegotiationManagerFactoryBean
private String parameterName = "format";
private boolean favorPathExtension = true;
private boolean favorPathExtension = false;
private Map<String, MediaType> mediaTypes = new HashMap<>();