Skip to content

Commit 9fbdab7

Browse files
committed
Transform pipeline needs to call chain.proceed() otherwise further content interceptors will not trigger.
1 parent fc80bf3 commit 9fbdab7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎transform/src/main/java/org/ocpsoft/rewrite/transform/PipelineContentInterceptor.java‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ public void intercept(HttpServletRewrite event, ResponseContent buffer, Response
5656
ByteArrayOutputStream output = new ByteArrayOutputStream();
5757
transform(new ByteArrayInputStream(buffer.getContents()), output);
5858
buffer.setContents(output.toByteArray());
59+
chain.proceed();
5960
}
6061
catch (IOException e) {
6162
throw new IllegalStateException("Failed to apply transformation pipeline", e);

0 commit comments

Comments
 (0)