diff --git a/apps/routerconsole/java/src/net/i2p/router/update/NewsFetcher.java b/apps/routerconsole/java/src/net/i2p/router/update/NewsFetcher.java index aa2782e68..d6876383c 100644 --- a/apps/routerconsole/java/src/net/i2p/router/update/NewsFetcher.java +++ b/apps/routerconsole/java/src/net/i2p/router/update/NewsFetcher.java @@ -406,7 +406,9 @@ class NewsFetcher extends UpdateRunner { if (_tempFile.exists() && _tempFile.length() > 0) { File from; - if (url.endsWith(".su3")) { + // TODO check magic number instead? + // But then a corrupt file would be displayed as-is... + if (url.endsWith(".su3") || url.contains(".su3?")) { try { from = processSU3(); } catch (IOException ioe) { diff --git a/history.txt b/history.txt index 53111fedb..61a02c768 100644 --- a/history.txt +++ b/history.txt @@ -1,3 +1,9 @@ +2015-07-27 zzz + * Update: Fix processing of translated news su3 files + +2015-07-26 zzz + * Update translations + 2015-07-25 zzz * i2psnark: Fix total_size in metadata message (ticket #1618) * NetDB: Fix NPE (ticket #1619) diff --git a/router/java/src/net/i2p/router/RouterVersion.java b/router/java/src/net/i2p/router/RouterVersion.java index 78754ef28..601535dbe 100644 --- a/router/java/src/net/i2p/router/RouterVersion.java +++ b/router/java/src/net/i2p/router/RouterVersion.java @@ -18,7 +18,7 @@ public class RouterVersion { /** deprecated */ public final static String ID = "Monotone"; public final static String VERSION = CoreVersion.VERSION; - public final static long BUILD = 20; + public final static long BUILD = 21; /** for example "-test" */ public final static String EXTRA = "-rc";