This commit is contained in:
Ice3man543 2021-03-08 19:30:48 +05:30
parent 2717a8b647
commit a66253720a

View File

@ -75,6 +75,9 @@ func (r *Request) findFileMatches(absPath string, processed map[string]struct{},
return false, nil
}
if _, ok := processed[absPath]; !ok {
if !r.validatePath(absPath) {
return false, nil
}
processed[absPath] = struct{}{}
callback(absPath)
}