🔒 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) {
|
||||
// Potential data export disclosure security vulnerability https://github.com/siyuan-note/siyuan/issues/12213
|
||||
exportGroup := ginServer.Group("/export/", model.CheckAuth)
|
||||
exportGroup.Static("/", filepath.Join(util.TempDir, "export"))
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue