22 Jul 2023 17:03:50 Wiemann, Helge (ESI) <helge.wiem...@adp.com.INVALID>:

Hi all,

we are using Tomcat 9 and the still the JDBC Realm for authentication.

Our starting URL (which is protected) ends with “/boot1#index”
The form authentication is then processed through the common url j_security_check. But after a successful login, he is not redirecting to “boot1#index” but only to “boot1”, he is missing the #index but this is necessary for our application.

Any idea why he is removing this #index string or any possible solution to fix?

Your target URL is invalid. No user agent should be sending the  fragment (#index) part of the URL. At best Tomcat will ignore it. Later versions may even reject it (I have a memory of that but don't have easy acces to the source code to check right now).

Mark

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

Reply via email to