You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2015/12/24 17:24:55 UTC
[Bug 58768] New: Add Logging to Response.sendRedirect
https://bz.apache.org/bugzilla/show_bug.cgi?id=58768
Bug ID: 58768
Summary: Add Logging to Response.sendRedirect
Product: Tomcat 7
Version: 7.0.67
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P2
Component: Servlet & JSP API
Assignee: dev@tomcat.apache.org
Reporter: gsexton@mhsoftware.com
The new behavior introduced in:
https://bz.apache.org/bugzilla/show_bug.cgi?id=56917
Can cause strange and mysterious errors. For example, passing an invalid value
fo sendRedirect():
response.sendRedirect("SomePage.html?value=Some Word")
will now generate a 404 error indicating that the page containing the
sendRedirect() call is not found. In this case the real error is that the
parameter is not URI encoded.
Additionally, because of the manner it's called, no diagnostic page is
generated. The developer is left scratching their head wonder what went wrong.
It would be very helpful if the IllegalArgumentException that get's caught in
o.a.c.c.Response at line 1412 could be logged.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
Re: [Bug 58768] Add Logging to Response.sendRedirect
Posted by Rémy Maucherat <re...@apache.org>.
On Wed, Jun 12, 2019 at 5:51 PM Mark Thomas <ma...@apache.org> wrote:
> On 12/06/2019 16:17, bugzilla@apache.org wrote:
> > https://bz.apache.org/bugzilla/show_bug.cgi?id=58768
> >
> > --- Comment #2 from david <om...@gmail.com> ---
>
> Sigh. The idiot is back with a different email address.
>
> Account locked, spam cleaned up, etc.
>
Thanks ! :)
Rémy
Re: [Bug 58768] Add Logging to Response.sendRedirect
Posted by Mark Thomas <ma...@apache.org>.
On 12/06/2019 16:17, bugzilla@apache.org wrote:
> https://bz.apache.org/bugzilla/show_bug.cgi?id=58768
>
> --- Comment #2 from david <om...@gmail.com> ---
Sigh. The idiot is back with a different email address.
Account locked, spam cleaned up, etc.
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 58768] Add Logging to Response.sendRedirect
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58768
--- Comment #2 from david <om...@gmail.com> ---
thanks.
http://www.winmilliongame.com
http://www.gtagame100.com
http://www.subway-game.com
http://www.zumagame100.com
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 58768] Add Logging to Response.sendRedirect
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58768
--- Comment #2 from sam zain <om...@gmail.com> ---
Fixed in trunk for 9.0.0.M3 onwards, 8.0.x for 8.0.32 onwards and 7.0.x for
7.0.68 onwards.
http://www.winmilliongame.com
http://www.gtagame100.com
http://www.subway-game.com
http://www.zumagame100.com
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 58768] Add Logging to Response.sendRedirect
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58768
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #1 from Mark Thomas <ma...@apache.org> ---
Fixed in trunk for 9.0.0.M3 onwards, 8.0.x for 8.0.32 onwards and 7.0.x for
7.0.68 onwards.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org