You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by mg...@apache.org on 2012/05/11 13:45:35 UTC

git commit: WICKET-4552 WicketFilter.processRequest() should check that given FilterChain is not null

Updated Branches:
  refs/heads/wicket-1.5.x f2152c1cb -> 1bf7ae9f9


WICKET-4552 WicketFilter.processRequest() should check that given FilterChain is not null


Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/1bf7ae9f
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/1bf7ae9f
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/1bf7ae9f

Branch: refs/heads/wicket-1.5.x
Commit: 1bf7ae9f90df8c6e48afee52e5d0d347ad2b65dc
Parents: f2152c1
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
Authored: Fri May 11 14:43:46 2012 +0300
Committer: Martin Tzvetanov Grigorov <mg...@apache.org>
Committed: Fri May 11 14:45:19 2012 +0300

----------------------------------------------------------------------
 .../apache/wicket/protocol/http/WicketFilter.java  |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/1bf7ae9f/wicket-core/src/main/java/org/apache/wicket/protocol/http/WicketFilter.java
----------------------------------------------------------------------
diff --git a/wicket-core/src/main/java/org/apache/wicket/protocol/http/WicketFilter.java b/wicket-core/src/main/java/org/apache/wicket/protocol/http/WicketFilter.java
index 4ed6ef5..cbb7e9d 100644
--- a/wicket-core/src/main/java/org/apache/wicket/protocol/http/WicketFilter.java
+++ b/wicket-core/src/main/java/org/apache/wicket/protocol/http/WicketFilter.java
@@ -167,7 +167,10 @@ public class WicketFilter implements Filter
 			if (shouldIgnorePath(httpServletRequest))
 			{
 				log.debug("Ignoring request {}", httpServletRequest.getRequestURL());
-				chain.doFilter(request, response);
+				if (chain != null)
+				{
+					chain.doFilter(request, response);
+				}
 				return false;
 			}