Re: tomcat9 j_security_check request.getRequestURI() incorrect after POST

2018-05-04 Thread Dirk Ooms
Thanks for fixing this. Happy to help. On 3 May 2018 at 21:31, Mark Thomas wrote: > On 03/05/18 20:17, Mark Thomas wrote: > > On 02/05/18 16:08, Dirk Ooms wrote: > >> Mark, > >> > >> you can reproduce it using the FormAuthentication example in the > >> examples (http://localhost:8080/examples/js

Re: tomcat9 j_security_check request.getRequestURI() incorrect after POST

2018-05-03 Thread Mark Thomas
On 03/05/18 20:17, Mark Thomas wrote: > On 02/05/18 16:08, Dirk Ooms wrote: >> Mark, >> >> you can reproduce it using the FormAuthentication example in the >> examples (http://localhost:8080/examples/jsp/security/protected/) >> >> edit index.jsp >> 1. add the line "RequestURI: <%= request.getReques

Re: tomcat9 j_security_check request.getRequestURI() incorrect after POST

2018-05-03 Thread Mark Thomas
On 02/05/18 16:08, Dirk Ooms wrote: > Mark, > > you can reproduce it using the FormAuthentication example in the > examples (http://localhost:8080/examples/jsp/security/protected/) > > edit index.jsp > 1. add the line "RequestURI: <%= request.getRequestURI() %>" in > begin of body > 2. change the

Re: tomcat9 j_security_check request.getRequestURI() incorrect after POST

2018-05-02 Thread Dirk Ooms
Mark, you can reproduce it using the FormAuthentication example in the examples ( http://localhost:8080/examples/jsp/security/protected/) edit index.jsp 1. add the line "RequestURI: <%= request.getRequestURI() %>" in begin of body 2. change the method of the form from GET to POST scenario: 1. go

Re: tomcat9 j_security_check request.getRequestURI() incorrect after POST

2018-05-01 Thread Dirk Ooms
apologies for the incomplete info. it is tomcat 9.0.6 i will try to set up a test case and get back to you. dirk On 1 May 2018 at 16:07, Mark Thomas wrote: > 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. > >

Re: tomcat9 j_security_check request.getRequestURI() incorrect after POST

2018-05-01 Thread Mark Thomas
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. wh

tomcat9 j_security_check request.getRequestURI() incorrect after POST

2018-05-01 Thread Dirk Ooms
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