Skip to content

Commit 2498a10

Browse files
committed
Use reset flash for includes as well. Fixes #9370
1 parent 545a1bd commit 2498a10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

grails-web-mvc/src/main/groovy/org/grails/web/servlet/mvc/GrailsWebRequestFilter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ protected void doFilterInternal(HttpServletRequest request, HttpServletResponse
6262
try {
6363
WebUtils.storeGrailsWebRequest(webRequest);
6464

65-
if(!WebUtils.isForward(request)) {
65+
if(!WebUtils.isForwardOrInclude(request)) {
6666
// Set the flash scope instance to its next state. We do
6767
// this here so that the flash is available from Grails
6868
// filters in a valid state.

0 commit comments

Comments
 (0)