diff --git a/core/src/main/java/de/javakaffee/web/msm/SessionTrackerValve.java b/core/src/main/java/de/javakaffee/web/msm/SessionTrackerValve.java index 02154881..39883751 100644 --- a/core/src/main/java/de/javakaffee/web/msm/SessionTrackerValve.java +++ b/core/src/main/java/de/javakaffee/web/msm/SessionTrackerValve.java @@ -111,7 +111,7 @@ protected String getSessionCookieName() { @Override public void invoke( final Request request, final Response response ) throws IOException, ServletException { - if ( !_enabled.get() || _ignorePattern != null && _ignorePattern.matcher( request.getRequestURI() ).matches() ) { + if ( !_enabled.get() || _ignorePattern != null && _ignorePattern.matcher( getURIWithQueryString( request ) ).matches() ) { getNext().invoke( request, response ); } else {