forked from I2P_Developers/i2p.i2p
reformat message
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user