Fix processing of translated news

This commit is contained in:
zzz
2015-07-27 18:10:01 +00:00
parent d848a19ab0
commit 9efe60d7a8
3 changed files with 10 additions and 2 deletions

View File

@ -406,7 +406,9 @@ class NewsFetcher extends UpdateRunner {
if (_tempFile.exists() && _tempFile.length() > 0) { if (_tempFile.exists() && _tempFile.length() > 0) {
File from; 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 { try {
from = processSU3(); from = processSU3();
} catch (IOException ioe) { } catch (IOException ioe) {

View File

@ -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 2015-07-25 zzz
* i2psnark: Fix total_size in metadata message (ticket #1618) * i2psnark: Fix total_size in metadata message (ticket #1618)
* NetDB: Fix NPE (ticket #1619) * NetDB: Fix NPE (ticket #1619)

View File

@ -18,7 +18,7 @@ public class RouterVersion {
/** deprecated */ /** deprecated */
public final static String ID = "Monotone"; public final static String ID = "Monotone";
public final static String VERSION = CoreVersion.VERSION; public final static String VERSION = CoreVersion.VERSION;
public final static long BUILD = 20; public final static long BUILD = 21;
/** for example "-test" */ /** for example "-test" */
public final static String EXTRA = "-rc"; public final static String EXTRA = "-rc";