You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/09/11 19:00:48 UTC
[jira] [Commented] (WICKET-5980) When using Servlet 3.0 filter
Wicket calculates filter path wrong
[ https://issues.apache.org/jira/browse/WICKET-5980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14741137#comment-14741137 ]
ASF subversion and git services commented on WICKET-5980:
---------------------------------------------------------
Commit 294b0b2f897dc0e2433b607d7543061145b320fc in wicket's branch refs/heads/master from [~dashorst]
[ https://git-wip-us.apache.org/repos/asf?p=wicket.git;h=294b0b2 ]
WICKET-5980 Servlet 3 Filter path calculated wrong
When using Servlet 3.0 filter Wicket calculates filter path wrong. With a /web/* filter definition
in the annotation Wicket generates /web/*/ instead of /web/.
This fix uses the same approach as WicketFilter.getFilterPathFromConfig and other similar
extracters. Fixes WICKET-5980.
> When using Servlet 3.0 filter Wicket calculates filter path wrong
> -----------------------------------------------------------------
>
> Key: WICKET-5980
> URL: https://issues.apache.org/jira/browse/WICKET-5980
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 7.0.0
> Reporter: Martijn Dashorst
> Priority: Minor
> Fix For: 7.1.0
>
>
> When using a servlet 3.0 filter with annotations Wicket calculates the filter path wrong causing it to not match any pages other than the home page.
> e.g.
> {code}
> @WebFilter(value = "/web/*", initParams = {@WebInitParam(name = "applicationClassName", value = "com.example.CheesrApplication")})
> public class CheesrFilter extends WicketFilter {
> }
> {code}
> Will cause Wicket to create a filter path of /web/*/ instead of the expected /web.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)