Skip to content

Commit

Permalink
Fix content encoding error war (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
maiconandsilva committed Mar 20, 2023
1 parent 922efbb commit 25165c5
Showing 1 changed file with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -177,18 +177,6 @@ public void doFilter(ServletRequest rq, ServletResponse rs, FilterChain chain)
return;
}

if(isZUL(request)) {
//
// TODO if disable live
//
Content content = obtainContent(contentProcessor, webAppContext, request, response, chain);
if (content == null || response.isCommitted()) {
return;
}
new GrailsNoDecorator().render(content, webAppContext);
return;
}

if(isZK(request)) {
chain.doFilter(request, response);
return;
Expand Down

0 comments on commit 25165c5

Please sign in to comment.