https://bz.apache.org/bugzilla/show_bug.cgi?id=58660

--- Comment #20 from Andrii Pitukh <andy_...@ukr.net> ---
I've just reproduced following case in 8.0.30 (8.0.28 is ok):

Steps:
1. Download Tomcat installation
2. Open webapps/examples/WEB-INF/web.xml folder
3. Change lines:
    <servlet-mapping>
        <servlet-name>ChatServlet</servlet-name>
        <url-pattern>/servlets/chat/chat</url-pattern>
    </servlet-mapping>

    to

    <servlet-mapping>
        <servlet-name>ChatServlet</servlet-name>
        <url-pattern>/</url-pattern>
    </servlet-mapping>
5. Open http://localhost:8080/examples?key=param 

Expected result:
Server returns response with status 302 to redirect user to
http://localhost:8080/examples/?key=param and then to
http://localhost:8080/examples/login.jsp

Actual result:
Server returns response with status 302 to redirect user to
http://localhost:8080/login.jsp

-- 
You are receiving this mail because:
You are the assignee for the bug.

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

Reply via email to