2016-01-28 14:07 GMT+03:00 Thomas Scheffler <thomas.scheff...@uni-jena.de>:
> Hi,
>
> it seems that Tomcat 8.0.30 silently transforms a redirect response into a
> not-found response.
>
> https://bz.apache.org/bugzilla/show_bug.cgi?id=56917 introduces redirect to
> relative URLs.
>
> Before 8.0.30 a redirect URL string was simply returned to the client. Now
> it has to be a valid URI (not URL) for the response to succeed.
> If URI.create() fails, no error message is given or exception is thrown.
> Tomcat just sets the response code to 404.
>
> This behavior was introduced in revision 1717256. I appreciate stricter
> rules in this point, but please consider throwing a RuntimeException (best
> option) or at least log the error somewhere.


Bugzilla issue:
https://bz.apache.org/bugzilla/show_bug.cgi?id=58768

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to