Path generated by UrlRenderer.renderContextRelativeUrl does not always work as 
expected
---------------------------------------------------------------------------------------

                 Key: WICKET-4003
                 URL: https://issues.apache.org/jira/browse/WICKET-4003
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.5-RC7
         Environment: tomcat-7.0.26
            Reporter: Peter Triller


When you deploy the Wicket filter not at /* but for example as:
        <filter-mapping>
                <filter-name>wicket.porsche-wicket</filter-name>
                <url-pattern>/p/*</url-pattern>
        </filter-mapping>

and In my case a JSF Servlet at:
        <servlet-mapping>
                <servlet-name>Faces Servlet</servlet-name>
                <url-pattern>*.jsf</url-pattern>
        </servlet-mapping>

when I throw a RedirectToURLException to "/somepage.jsf"

the generated URL is "/p/../somepage.jsf" which gets handled by the Wicket 
filter although it is not supposed to.





--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to