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 2004/03/04 12:08:44 UTC

DO NOT REPLY [Bug 27430] New: - redirection to form-login-page doesn't set the proper base href

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27430>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27430

redirection to form-login-page doesn't set the proper base href

           Summary: redirection to form-login-page doesn't set the proper
                    base href
           Product: Tomcat 5
           Version: 5.0.18
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: rajakannan74@yahoo.com


after redirecting to the sigin.jsp in an attempt to access a protected page 
the <form-login-page>/signin.jsp</form-login-page> the base href pageis not 
set properly.

for examples , i have a webapp called /mywebapp with the context root and a 
protected folder /mywebapp/protected which is protected by the JDBC realm when 
i tried to access the protected page in the /mywebapp/protected/downloads.jsp  
it get redireted to the /mywebapp/signin.jsp  but the browser url still shows 
as /mywebapp/protected/downloads.jsp all the realtive url's are broken on the 
sign.jsp beucase realtive path is set to /mywebapp/protected instead 
of /mywebapp/ or base href or whatever.

The same scenario works fine with the jakarta-tomcat-4.0.4 version 5.0.18 , 
5.0.19 has this problem.

any fix or solution would be appreciated as we are in the stage of migrating 
and we really need the solution.

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