You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Svetlin Zarev <sv...@gmail.com> on 2016/08/03 12:04:45 UTC
Tomcat backwards incompatible change
Hello!
With [1] and [2] an incompatible change has been introduced to all current
versions of Tomcat. The issue is that when calling
requestDispatcher.forward(), the target servlet receives the encoded URL
instead of the one used to obtain the dispatcher. This breaks all
applications depending on the previous Tomcat behavior.
[1]
http://svn.apache.org/viewvc/tomcat/tc8.0.x/trunk/java/org/apache/catalina/core/ApplicationContext.java?r1=1741019&r2=1741018&pathrev=1741019
[2]
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/ApplicationContext.java?r1=1741024&r2=1741023&pathrev=1741024
Kind regards,
Svetlin
Re: Tomcat backwards incompatible change
Posted by Mark Thomas <ma...@apache.org>.
On 03/08/2016 05:04, Svetlin Zarev wrote:
> Hello!
>
> With [1] and [2] an incompatible change has been introduced to all current
> versions of Tomcat. The issue is that when calling
> requestDispatcher.forward(), the target servlet receives the encoded URL
> instead of the one used to obtain the dispatcher. This breaks all
> applications depending on the previous Tomcat behavior.
http://tomcat.markmail.org/thread/ryx6lcy2femr4xbe
Already fixed in svn for the next round of releases.
Mark
>
> [1]
> http://svn.apache.org/viewvc/tomcat/tc8.0.x/trunk/java/org/apache/catalina/core/ApplicationContext.java?r1=1741019&r2=1741018&pathrev=1741019
> [2]
> http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/ApplicationContext.java?r1=1741024&r2=1741023&pathrev=1741024
>
> Kind regards,
> Svetlin
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org