If an app is bound to a context with a trailing slash:
Then relative redirects can be incorrect. For instance, if requesting /app/redirect.jsp then response.sendRedirect("newpage.jsp") would previously return a location of /app/newpage.jsp. But now it results in /app/redirect.jspnewpage.jsp.
That's because after
Does not see a last slash and so does not modify the current string, meaning that this:
ends up being called with values like /app/+redirect.jsp+newpage.jsp.