From 0e5fc8eb1105962e14101b024d1bdd0436dbc83e Mon Sep 17 00:00:00 2001
From: str4d <str4d@mail.i2p>
Date: Fri, 20 Jan 2012 01:18:46 +0000
Subject: [PATCH] Revert the use of the unescape function in
 ConfigClientsHandler - unnecessary

---
 .../java/src/net/i2p/router/web/ConfigClientsHandler.java    | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/apps/routerconsole/java/src/net/i2p/router/web/ConfigClientsHandler.java b/apps/routerconsole/java/src/net/i2p/router/web/ConfigClientsHandler.java
index 6f3f2af07f..407f3227a6 100644
--- a/apps/routerconsole/java/src/net/i2p/router/web/ConfigClientsHandler.java
+++ b/apps/routerconsole/java/src/net/i2p/router/web/ConfigClientsHandler.java
@@ -10,7 +10,6 @@ import java.util.Map;
 import java.util.Properties;
 import java.util.Set;
 
-import net.i2p.data.DataHelper;
 import net.i2p.router.client.ClientManagerFacadeImpl;
 import net.i2p.router.startup.ClientAppConfig;
 import net.i2p.router.startup.LoadClientAppsJob;
@@ -170,7 +169,7 @@ public class ConfigClientsHandler extends FormHandler {
             if (! ("webConsole".equals(ca.clientName) || "Web console".equals(ca.clientName)))
                 ca.disabled = val == null;
             // edit of an existing entry
-            String desc = DataHelper.unescapeHTML(getJettyString("desc" + cur));
+            String desc = getJettyString("desc" + cur);
             if (desc != null) {
                 int spc = desc.indexOf(" ");
                 String clss = desc;
@@ -186,7 +185,7 @@ public class ConfigClientsHandler extends FormHandler {
         }
 
         int newClient = clients.size();
-        String newDesc = DataHelper.unescapeHTML(getJettyString("desc" + newClient));
+        String newDesc = getJettyString("desc" + newClient);
         if (newDesc != null && newDesc.trim().length() > 0) {
             // new entry
             int spc = newDesc.indexOf(" ");
-- 
GitLab