tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: tomcat9 j_security_check request.getRequestURI() incorrect after POST
Date Tue, 01 May 2018 14:07:04 GMT
On 01/05/18 14:36, Dirk Ooms wrote:
> Hello,
> 
> i did an upgrade from tomcat5.5 to tomcat9 and i'm using j_security_check.
> 
> in tomcat5.5 when a user was not logged in and he/she requested a url, the
> login page was returned and after logging in the user was given the
> requested resource. when i requested request.getRequestURI() in my code the
> returned uri was correct for both GET and POST.
> 
> in tomcat9 this is not the case anymore for POST (for GET still ok). when i
> call request.getRequestURI() after the user is logged in, it returns
> "chString" in my case, which is a part of the name of the first form field
> ("searchString") of the original POST.
> 
> any idea? am i missing something?

The exact Tomcat 9 version.

A test case that demonstrates the issue.

Mark

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


Mime
View raw message