From 6cb3d1d3306647fd1acc548ca85bcc71b9fe882b Mon Sep 17 00:00:00 2001
From: zzz <zzz@mail.i2p>
Date: Tue, 7 Jul 2015 13:38:44 +0000
Subject: [PATCH] Updates: New news URL

---
 .../java/src/net/i2p/router/web/ConfigUpdateHandler.java  | 8 +++++---
 .../java/src/net/i2p/router/web/ConfigUpdateHelper.java   | 3 ++-
 installer/resources/hosts.txt                             | 1 +
 3 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/apps/routerconsole/java/src/net/i2p/router/web/ConfigUpdateHandler.java b/apps/routerconsole/java/src/net/i2p/router/web/ConfigUpdateHandler.java
index ef3fb4eb18..7f8c75dfd3 100644
--- a/apps/routerconsole/java/src/net/i2p/router/web/ConfigUpdateHandler.java
+++ b/apps/routerconsole/java/src/net/i2p/router/web/ConfigUpdateHandler.java
@@ -34,10 +34,12 @@ public class ConfigUpdateHandler extends FormHandler {
 //  public static final String DEFAULT_NEWS_URL = "http://dev.i2p.net/cgi-bin/cvsweb.cgi/i2p/news.xml?rev=HEAD";
     /** very old default */
     public static final String OLD_DEFAULT_NEWS_URL = "http://complication.i2p/news.xml";
-    /** old default */
+    /** older default */
     public static final String DEFAULT_NEWS_URL = "http://echelon.i2p/i2p/news.xml";
-    /** current default */
-    public static final String DEFAULT_NEWS_URL_SU3 = "http://echelon.i2p/news/news.su3";
+    /** old default */
+    public static final String OLD_DEFAULT_NEWS_URL_SU3 = "http://echelon.i2p/news/news.su3";
+    /** current default, i2pnews.i2p, run by echelon */
+    public static final String DEFAULT_NEWS_URL_SU3 = "http://tc73n4kivdroccekirco7rhgxdg5f3cjvbaapabupeyzrqwv5guq.b32.i2p/news.su3";
     public static final String PROP_REFRESH_FREQUENCY = "router.newsRefreshFrequency";
     public static final long DEFAULT_REFRESH_FREQ = 36*60*60*1000l;
     public static final String DEFAULT_REFRESH_FREQUENCY = Long.toString(DEFAULT_REFRESH_FREQ);
diff --git a/apps/routerconsole/java/src/net/i2p/router/web/ConfigUpdateHelper.java b/apps/routerconsole/java/src/net/i2p/router/web/ConfigUpdateHelper.java
index c5c13c0aa7..3df84ceb5e 100644
--- a/apps/routerconsole/java/src/net/i2p/router/web/ConfigUpdateHelper.java
+++ b/apps/routerconsole/java/src/net/i2p/router/web/ConfigUpdateHelper.java
@@ -34,7 +34,8 @@ public class ConfigUpdateHelper extends HelperBase {
     public static String getNewsURL(I2PAppContext ctx) {
         String url = ctx.getProperty(ConfigUpdateHandler.PROP_NEWS_URL);
         if (url != null && !url.equals(ConfigUpdateHandler.OLD_DEFAULT_NEWS_URL) &&
-            !url.equals(ConfigUpdateHandler.DEFAULT_NEWS_URL))
+            !url.equals(ConfigUpdateHandler.DEFAULT_NEWS_URL) &&
+            !url.equals(ConfigUpdateHandler.OLD_DEFAULT_NEWS_URL_SU3))
             return url;
         else
             return ConfigUpdateHandler.DEFAULT_NEWS_URL_SU3;
diff --git a/installer/resources/hosts.txt b/installer/resources/hosts.txt
index 46017c9c4d..bc698afe9a 100644
--- a/installer/resources/hosts.txt
+++ b/installer/resources/hosts.txt
@@ -360,3 +360,4 @@ i2pdocs.str4d.i2p=CRayYfxrPBELUQ4tYi723g8atsyHwkR0--N8fXggNqJgHsnrKxle0ovH5qj6aq
 mtn.i2p-projekt.i2p=I6Ha4I7rgR0JyExQnN~4sZz5CfRqdN7o-2t1i2YOExd2CxC4MHHz3nJ5KgBIqeNa0dZbugwMEYMWneXAf8nuy9RKUrjcDvGLqScuU8QCpG-e7UDR8lNregfaOwTuypBQiPh9nrc86Zc2JXyTv0eG3T5Yl1tydqs3qEz5w1vn64uRCrGLEMsnGMIZ4aXexseL6McW9ObIQ0qOIfRG9kc~3~bpD9UM4G04BXPZ1Ao5MUjGoQyxlaNCt1DrvAYcrRArzvv0QGyPjb6HpHLlK2UIoR6SumRuNYpEXCaqbXEnEicx1kB5Pyhcwm0cyaMCx-ZaUU-F1~23VurE41xNMbq4GwXtev4bVP4ycHGHjH-XYJmKrqnesIEp7InSAWfm0gdDHuy9377nSI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