Skip to content

Commit 36f35fb

Browse files
authored
Fix: Fixed app crash when copying file from 7-zip (#11118)
1 parent 974c6b2 commit 36f35fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Files.App/Filesystem/FilesystemOperations/Helpers/FilesystemHelpers.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -787,7 +787,7 @@ public static async Task<IEnumerable<IStorageItemWithPath>> GetDraggedStorageIte
787787
if (charsCopied > 0)
788788
{
789789
string path = buffer[..(int)charsCopied];
790-
itemPaths.Add(path);
790+
itemPaths.Add(Path.GetFullPath(path));
791791
}
792792
}
793793

@@ -850,4 +850,4 @@ public void Dispose()
850850

851851
#endregion IDisposable
852852
}
853-
}
853+
}

0 commit comments

Comments
 (0)