🔒 Potential data export disclosure security vulnerability
This commit is contained in:
parent
9db7b49037
commit
f8374201de
1 changed files with 2 additions and 1 deletions
|
@ -172,7 +172,8 @@ func rewritePortJSON(pid, port string) {
|
|||
}
|
||||
|
||||
func serveExport(ginServer *gin.Engine) {
|
||||
ginServer.Static("/export/", filepath.Join(util.TempDir, "export"))
|
||||
exportGroup := ginServer.Group("/export/", model.CheckAuth)
|
||||
exportGroup.Static("/", filepath.Join(util.TempDir, "export"))
|
||||
}
|
||||
|
||||
func serveWidgets(ginServer *gin.Engine) {
|
||||
|
|
Loading…
Add table
Reference in a new issue