Skip to content

Support application-wide defaultHtmlEscape setting in WebFlux Request…#36400

Open
husseinvr97 wants to merge 1 commit intospring-projects:mainfrom
husseinvr97:fix/webflux-default-html-escape
Open

Support application-wide defaultHtmlEscape setting in WebFlux Request…#36400
husseinvr97 wants to merge 1 commit intospring-projects:mainfrom
husseinvr97:fix/webflux-default-html-escape

Conversation

@husseinvr97
Copy link

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

…Context

Closes spring-projectsgh-36378

Signed-off-by: husseinvr97 <husseinmustafabas05@gmail.com>

git commit --amend --signoff#
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Feb 28, 2026
@husseinvr97 husseinvr97 force-pushed the fix/webflux-default-html-escape branch from 21ff48a to e09cb3a Compare February 28, 2026 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: waiting-for-triage An issue we've not yet triaged or decided on

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support application-wide defaultHtmlEscape setting in WebFlux

2 participants