修改跨站脚本攻击缺陷

This commit is contained in:
范强强
2024-03-21 10:30:42 +08:00
parent 1e064b79e9
commit 5e1c48dcd7
2 changed files with 18 additions and 2 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ export default {
const replaceStand = ''
// http://39.98.140.126:8999
// http://127.0.0.1:8080
window.open('http://127.0.0.1:8082' + '/editor?fileId=' + val.id + '&pid=' + val.pid +
window.open(window.CONFIG.onlyOfficeRoute + '/editor?fileId=' + val.id + '&pid=' + val.pid +
'&taskIds=' + val.taskId + '&oldFileName=' + oldFileName + '&assessor=' + assessor +
'&fileType=docx' + '&attId=' + val.id + '&fileUrl=' + val.downLoadUrl +
'&key=' + val.id + nowTime + '&filePath=' + val.editFilePath + '&fileName=' + val.fileName +