The ContentCachingRequestWrapper(jakarta.servlet.http.HttpServletRequest) constructor is now deprecated and caches by default an unlimited amount of data. The replacement ContentCachingRequestWrapper(jakarta.servlet.http.HttpServletRequest, int) allows such behavior in 7.0 but that change has not been bacported to 6.2.x. We should do so here.
The
ContentCachingRequestWrapper(jakarta.servlet.http.HttpServletRequest)constructor is now deprecated and caches by default an unlimited amount of data. The replacementContentCachingRequestWrapper(jakarta.servlet.http.HttpServletRequest, int)allows such behavior in 7.0 but that change has not been bacported to 6.2.x. We should do so here.