HOTFIX: security issue fixed
This commit is contained in:
parent
e4c6332398
commit
0350cf4de9
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ func WorkerRoute(ctx *gin.Context) {
|
|||
var target string
|
||||
var matches = false
|
||||
for _, dir := range dirs {
|
||||
if !strings.HasSuffix(ctx.Request.URL.Path, dir.DirName) {
|
||||
if !strings.Contains(ctx.Request.URL.Path, dir.DirName) {
|
||||
continue
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue