This commit is contained in:
@@ -400,7 +400,7 @@ func (l Service) apply(src, dst string) error {
|
||||
return fmt.Errorf("failed to remove old save: %w", err)
|
||||
}
|
||||
|
||||
f, err := os.OpenFile(src, os.O_RDONLY, 0)
|
||||
f, err := os.OpenFile(filepath.Clean(src), os.O_RDONLY, 0)
|
||||
if err != nil {
|
||||
return fmt.Errorf("failed to open archive: %w", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user