上传文件接口不应该暴露filePath
@XinLi-cyber ya está trabajando en esto.
Desde el 22/7/2025.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
问题摘要 / Issue Summary
上传文件接口不应该暴露filePath
版本信息 / Version Information
v1.2.0
浏览器 / Browser
No response
操作系统 / Operating System
None
发生了什么?/ What happened?
上传文件接口暴露了filePath,有可能导致被攻击
期望的行为 / Expected Behavior
上传文件后只返回fileName
重现步骤 / Steps to Reproduce
上传头像,发现调用了http://localhost:8001/api/jober/v1/api/31f20efc7e0848deab6a6bc10fc3021e/file?aipp_id=79a98da64c5d41fe9b78e34c3d799a40,返参中带有filePath,其中显示了实际存储的目录地址信息。
相关日志 / Relevant Logs
额外信息 / Additional Context
需要考虑已有调用方:前端、后端的逻辑,避免此处修改导致链路中断
确认事项 / Confirmations
-
我已经搜索了现有的issues,确认这不是重复问题
I have searched existing issues and confirmed this is not a duplicate -
我已经阅读了项目文档和 FAQ
I have read the project documentation and FAQ -
我提供的信息准确完整
The information I provided is accurate and complete -
我愿意协助测试问题修复 (可选)
I'm willing to help test the bug fix (optional)
- Lenguaje dominante
- Java
- Estrellas
- 1.5k
- Forks
- 233
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de ModelEngine-Group/app-platform
-
期望AppEngine具备模型|应用远程拉取的功能 Abiertostatus: waiting-for-internal-feedback type: feature
ModelEngine-Group/app-platform#603 · 1 asignado ·
-
发布的应用别人通过api调用是否支持token的用量? Abiertostatus: waiting-for-internal-feedback type: feature
ModelEngine-Group/app-platform#601 · 1 asignado ·
-
status: waiting-for-triage type: bug
ModelEngine-Group/app-platform#585 · 1 asignado ·
-
工作流中运行HTTP节点出错,帮助信息没有帮助,对开发人员不友好 Abiertostatus: waiting-for-triage type: bug
ModelEngine-Group/app-platform#584 · 1 asignado ·
-
status: waiting-for-triage type: bug
ModelEngine-Group/app-platform#583 · 1 comentario · 1 asignado ·
Todos los issues de ModelEngine-Group/app-platform
Issues similares
-
documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
inu-appcenter/memorIN-backend#288 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
-
frontend maui-pilot pilot-ask question
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
-
executions.Query — startDate and timeRange filters are sent with inverted comparison operators Abiertoarea/plugin
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
kestra-io/plugin-kestra#190 ·