Update to v7.55.0

This commit is contained in:
aapanel.com
2025-11-07 15:30:29 +08:00
parent c32414993f
commit b6e4ab8b35
1243 changed files with 48469 additions and 87603 deletions
+3 -3
View File
@@ -800,7 +800,7 @@ class main(Base):
args1.address = address
result = self.more_prot_rule(args1)
if not result['status']:
return public.fail_v2(result['msg'])
return public.fail_v2(result.get("msg", "Failed, please check and try again"))
elif get.address != "all" and "\n" in get.address:
args2 = public.to_dict_obj(deepcopy(get.get_items()))
address_list = get.address.split("\n")
@@ -808,11 +808,11 @@ class main(Base):
args2.address = address
result = self.more_prot_rule(args2)
if not result['status']:
return public.fail_v2(result['msg'])
return public.fail_v2(result.get("msg", "Failed, please check and try again"))
else:
result = self.more_prot_rule(get)
if not result['status']:
return public.fail_v2(result['msg'])
return public.fail_v2(result.get("msg", "Failed, please check and try again"))
if self._isFirewalld and get.reload == "1":
self.firewall.reload()