Fix potential SQL injection in Smart Playlists

This commit is contained in:
Deluan 2022-01-18 21:20:26 -05:00
parent 8c707b4e0c
commit 9e79b5cbf2
2 changed files with 8 additions and 4 deletions

View file

@ -72,7 +72,7 @@ func (s *TagScanner) Scan(ctx context.Context, lastModifiedSince time.Time, prog
ctx = s.withAdminUser(ctx)
start := time.Now()
// Special case: if lastModifiedSInce is zero, re-import all files
// Special case: if lastModifiedSince is zero, re-import all files
fullScan := lastModifiedSince.IsZero()
allDBDirs, err := s.getDBDirTree(ctx)