fix: EXIF解析越界与转正丢文件、.psb归类、日志接管panic恢复
This commit is contained in:
@@ -280,8 +280,8 @@ type imageProbeResult struct {
|
||||
// 只读数据库(查指纹),这是安全的。
|
||||
func (o *Organizer) probeImage(f scanner.File) imageProbeResult {
|
||||
r := imageProbeResult{}
|
||||
// PSD 不体检,直接标记"原样收走"
|
||||
if strings.EqualFold(f.Ext, ".psd") {
|
||||
// PSD/PSB 设计稿不体检,直接标记"原样收走"
|
||||
if strings.EqualFold(f.Ext, ".psd") || strings.EqualFold(f.Ext, ".psb") {
|
||||
r.psd = true
|
||||
return r
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user