You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2011/09/07 17:34:10 UTC

[jira] [Resolved] (WICKET-4003) Path generated by UrlRenderer.renderContextRelativeUrl does not always work as expected

     [ https://issues.apache.org/jira/browse/WICKET-4003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov resolved WICKET-4003.
-------------------------------------

    Resolution: Cannot Reproduce

Please attach a quickstart if you are able to reproduce it.
Thanks !

> 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: Test
>          Components: wicket
>    Affects Versions: 1.5-RC7
>         Environment: tomcat-7.0.26
>            Reporter: Peter Triller
>            Priority: Trivial
>
> 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