diff --git a/apps/routerconsole/java/src/net/i2p/router/web/HostCheckHandler.java b/apps/routerconsole/java/src/net/i2p/router/web/HostCheckHandler.java index 77011e093..1bb139dbf 100644 --- a/apps/routerconsole/java/src/net/i2p/router/web/HostCheckHandler.java +++ b/apps/routerconsole/java/src/net/i2p/router/web/HostCheckHandler.java @@ -89,9 +89,9 @@ public class HostCheckHandler extends GzipHandler Log log = _context.logManager().getLog(HostCheckHandler.class); host = DataHelper.stripHTML(getHost(host)); String s = "Console request denied.\n" + - " To allow access using the hostname \"" + host + "\", add the line \"" + - RouterConsoleRunner.PROP_ALLOWED_HOSTS + '=' + host + - "\" to advanced configuration and restart."; + " To allow access using the hostname \"" + host + "\",\n" + + " add the line \"" + RouterConsoleRunner.PROP_ALLOWED_HOSTS + '=' + host + "\"\n" + + " to advanced configuration and restart."; log.logAlways(Log.WARN, s); httpResponse.sendError(403, s); baseRequest.setHandled(true);