Skip to content

Commit

Permalink
EmptyPayloadFilter must set a request attribute, not a servlet contex…
Browse files Browse the repository at this point in the history
…t attribute
  • Loading branch information
tsegismont authored and Stefan Negrea committed Aug 13, 2015
1 parent 22361eb commit 94d7df9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public ServerResponse preProcess(HttpRequest request,
return null;
}

servletRequest.getServletContext().setAttribute(EMPTY_PAYLOAD, Boolean.TRUE);
servletRequest.setAttribute(EMPTY_PAYLOAD, Boolean.TRUE);
return null;
}
}

0 comments on commit 94d7df9

Please sign in to comment.