Author: toad
Date: 2008-02-11 12:17:59 +0000 (Mon, 11 Feb 2008)
New Revision: 17775
Modified:
trunk/freenet/src/freenet/clients/http/filter/PNGFilter.java
Log:
Skip unknown chunks, don't throw
Modified: trunk/freenet/src/freenet/clients/http/filter/PNGFilter.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/filter/PNGFilter.java
2008-02-11 12:12:19 UTC (rev 17774)
+++ trunk/freenet/src/freenet/clients/http/filter/PNGFilter.java
2008-02-11 12:17:59 UTC (rev 17775)
@@ -258,8 +258,10 @@
}
if(!validChunkType) {
+ if(logMINOR)
+ Logger.minor(this, "Skipping
unknown chunk type "+chunkTypeString);
if(output == null)
- throw new IOException("Unknown
chunk type");
+ return null;
skip = true;
}