diff --git a/htroot/SettingsAck_p.java b/htroot/SettingsAck_p.java index ca31a6748..4eed26a48 100644 --- a/htroot/SettingsAck_p.java +++ b/htroot/SettingsAck_p.java @@ -35,6 +35,7 @@ import java.util.regex.PatternSyntaxException; import net.yacy.cora.order.Digest; import net.yacy.cora.protocol.RequestHeader; +import net.yacy.data.TransactionManager; import net.yacy.http.InetPathAccessHandler; import net.yacy.kelondro.util.Formatter; import net.yacy.peers.Network; @@ -66,6 +67,9 @@ public class SettingsAck_p { prop.put("info", "1");//no information submitted return prop; } + + /* Check this is a valid transaction */ + TransactionManager.checkPostTransaction(header, post); // admin password if (post.containsKey("adminaccount")) { diff --git a/htroot/Settings_Crawler.inc b/htroot/Settings_Crawler.inc index c451e046b..cd0b27433 100644 --- a/htroot/Settings_Crawler.inc +++ b/htroot/Settings_Crawler.inc @@ -1,4 +1,5 @@