Support application-wide defaultHtmlEscape setting in WebFlux RequestContext by husseinvr97 · Pull Request #36400 · spring-projects/spring-framework

Addresses the TODO comments in the reactive RequestContext class by
introducing support for an application-wide defaultHtmlEscape setting
in WebFlux, similar to what the servlet stack provides via web.xml.

The setting can be configured programmatically via WebHttpHandlerBuilder:

WebHttpHandlerBuilder.webHandler(...)
    .defaultHtmlEscape(true)
    .build();

Closes gh-36378