Skip to content

Commit 25165c5

Browse files
Fix content encoding error war (#20)
1 parent 922efbb commit 25165c5

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

grailszk/src/main/groovy/org/zkoss/zk/grails/web/ZKGrailsPageFilter.java

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -177,18 +177,6 @@ public void doFilter(ServletRequest rq, ServletResponse rs, FilterChain chain)
177177
return;
178178
}
179179

180-
if(isZUL(request)) {
181-
//
182-
// TODO if disable live
183-
//
184-
Content content = obtainContent(contentProcessor, webAppContext, request, response, chain);
185-
if (content == null || response.isCommitted()) {
186-
return;
187-
}
188-
new GrailsNoDecorator().render(content, webAppContext);
189-
return;
190-
}
191-
192180
if(isZK(request)) {
193181
chain.doFilter(request, response);
194182
return;

0 commit comments

Comments
 (0)