I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 7c236c0f authored by zzz's avatar zzz
Browse files

Console: Fix saving update keys, was broken in 0.7.10

parent 7a7e650c
No related branches found
No related tags found
No related merge requests found
......@@ -124,6 +124,7 @@ public class ConfigUpdateHandler extends FormHandler {
}
if ( (_trustedKeys != null) && (_trustedKeys.length() > 0) ) {
_trustedKeys = _trustedKeys.replaceAll("\r\n", ",").replaceAll("\n", ",");
String oldKeys = new TrustedUpdate(_context).getTrustedKeysString();
if ( (oldKeys == null) || (!_trustedKeys.equals(oldKeys)) ) {
_context.router().setConfigSetting(PROP_TRUSTED_KEYS, _trustedKeys);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment