本帖最后由 宝塔用户_vtutkf 于 2024-1-9 20:06 编辑
Traceback (most recent call last):
File "/www/server/panel/BTPanel/__init__.py", line 2302, in publicObject
res = run_obj.run(toObject, defs, get)
File "/www/server/panel/BTPanel/__init__.py", line 2249, in run
result = getattr(toObject, get.action)(get)
File "/www/server/panel/class/panelSafeController.py", line 75, in model
result = PluginLoader.module_run(module_name,def_name,pdata)
File "/www/server/panel/class/safeModel/firewallModel.py", line 1056, in get_ip_rules_list
data['data'] = public.return_area(data['data'], 'address')
File "class/public.py", line 5775, in return_area
data['area'] = ''
TypeError: 'str' object does not support item assignment REQUEST_DATE: 2024-01-09 19:59:43
VERSION: CentOS 8.4.2105 x86_64(Py3.7.9) - 8.0.5
REMOTE_ADDR: 14.145.47.107
REQUEST_URI: POST /safe/firewall/get_ip_rules_list?
REQUEST_FORM: {'data': '{"p":1,"limit":20,"query":""}'}
USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0
|
|