本帖最后由 堡塔运维香菜卷 于 2023-10-4 17:41 编辑
为了能快速了解并处理您的问题,请提供以下基础信息:
windos
7.9.0
更改站点目录
REQUEST_DATE: 2023-10-04 16:46:01
PAN_VERSION: 7.9.0
OS_VERSION: Windows Server 2008 R2 Datacenter (build 7601) x64 (Py3.8.6)
REMOTE_ADDR: 103.43.162.171
REQUEST_URI: POST /site?action=SetPath
REQUEST_FORM: {'id': '2', 'path': '', 'check_dir': '1'}
USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36
Traceback (most recent call last):
File "C:\BtSoft\panel\BTPanel\__init__.py", line 1581, in publicObject
return run_exec().run(toObject, defs, get)
File "C:\BtSoft\panel\BTPanel\__init__.py", line 1813, in run
result = eval(fun)
File "", line 1, in
File "C:\BtSoft\panel/class\panelSite.py", line 1561, in SetPath
Path = self.GetPath(get.path);
File "C:\BtSoft\panel/class\panelSite.py", line 1882, in GetPath
if path[-1] == '/':
IndexError: string index out of range
|
|