mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-22 00:20:47 +02:00
🔒 Potential data export disclosure security vulnerability https://github.com/siyuan-note/siyuan/issues/12213
This commit is contained in:
parent
f8374201de
commit
f9127e8e0f
1 changed files with 1 additions and 0 deletions
|
@ -172,6 +172,7 @@ func rewritePortJSON(pid, port string) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func serveExport(ginServer *gin.Engine) {
|
func serveExport(ginServer *gin.Engine) {
|
||||||
|
// Potential data export disclosure security vulnerability https://github.com/siyuan-note/siyuan/issues/12213
|
||||||
exportGroup := ginServer.Group("/export/", model.CheckAuth)
|
exportGroup := ginServer.Group("/export/", model.CheckAuth)
|
||||||
exportGroup.Static("/", filepath.Join(util.TempDir, "export"))
|
exportGroup.Static("/", filepath.Join(util.TempDir, "export"))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue