Skip to content

Commit

Permalink
Use requestURI + queryString to check if uriIgnorePattern matches.
Browse files Browse the repository at this point in the history
This is needed so that requests for e.g. /req/?m=foo.js can be ignored.
  • Loading branch information
Martin Grotzke committed Apr 1, 2012
1 parent 3479a3d commit 77182d4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {

Expand Down

0 comments on commit 77182d4

Please sign in to comment.