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.

kind regards,

Thomas

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

Reply via email to