Merge branch '6.0.x'

This commit is contained in:
rstoyanchev 2023-10-24 12:58:31 +01:00
commit 2864c12887
1 changed files with 4 additions and 1 deletions

View File

@ -982,7 +982,10 @@ public abstract class FrameworkServlet extends HttpServletBean implements Applic
return;
}
}
super.doTrace(request, response);
// Work around until https://github.com/jakartaee/servlet/pull/545 is fixed and in use
if (request.getDispatcherType() != DispatcherType.ERROR) {
super.doTrace(request, response);
}
}
/**