为了能快速了解并处理您的问题,请提供以下基础信息: 面板、插件版本:Linux面板8.0.42 测试版 系统版本:CentOS 7.9.2009 x86_64(Py3.7.9) 问题描述:json.decoder.JSONDecodeError: Expecting ',' delimiter: line 1 column 61 (char 60) 相关截图(日志、错误):
- REQUEST_DATE: 2023-11-23 10:45:11
- PAN_VERSION: 8.0.4
- OS_VERSION: CentOS 7.9.2009 x86_64(Py3.7.9)
- REMOTE_ADDR: 120.231.114.208
- REQUEST_URI: POST /site?action=ModifyProxy
- REQUEST_FORM: {'proxyname': 'good', 'sitename': 'yn.good.zstandian.com', 'proxydir': '/', 'proxysite': 'http://106.75.230.177:8090', 'todomain': '$host', 'type': '1', 'cache': '0', 'subfilter': '[{"sub1":"halo.run","sub2":"zstandian.com"},{"sub1":"width="332.40625px"","sub2":"width="100%""},{"sub1":"img src","sub2":"img width="100%" src"}]', 'advanced': '0', 'cachetime': '60'}
- USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36
复制代码- Traceback (most recent call last):
- File "/www/server/panel/BTPanel/__init__.py", line 2102, in publicObject
- res = run_obj.run(toObject, defs, get)
- File "/www/server/panel/BTPanel/__init__.py", line 2049, in run
- result = getattr(toObject, get.action)(get)
- File "class/panelSite.py", line 4010, in ModifyProxy
- if self.__CheckStart(get):
- File "class/panelSite.py", line 3763, in __CheckStart
- subfilter = json.loads(get.subfilter)
- File "/www/server/panel/pyenv/lib/python3.7/json/__init__.py", line 348, in loads
- return _default_decoder.decode(s)
- File "/www/server/panel/pyenv/lib/python3.7/json/decoder.py", line 337, in decode
- obj, end = self.raw_decode(s, idx=_w(s, 0).end())
- File "/www/server/panel/pyenv/lib/python3.7/json/decoder.py", line 353, in raw_decode
- obj, end = self.scan_once(s, idx)
- json.decoder.JSONDecodeError: Expecting ',' delimiter: line 1 column 61 (char 60)
复制代码
|
|