1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-21 04:52:26 -05:00

Compare commits

...

15 commits

Author SHA1 Message Date
Yazan AbdAl-Rahman
46a4ff8029
Merge b9b7163c46 into e4a16e91fa 2025-01-19 21:16:45 -06:00
Yazan AbdAl-Rahman
b9b7163c46
Merge branch 'main' into Fix-UNC-Path-Permissions-Issue-on-Windows 2024-11-24 16:31:04 +02:00
Yazan AbdAl-Rahman
aa56715d1d
Merge branch 'main' into Fix-UNC-Path-Permissions-Issue-on-Windows 2024-11-14 10:36:13 +02:00
Yazan AbdAl-Rahman
b4e11b6b37
Merge branch 'main' into Fix-UNC-Path-Permissions-Issue-on-Windows 2024-11-12 10:07:47 +02:00
Yazan AbdAl-Rahman
dc619d09d8
Merge branch 'main' into Fix-UNC-Path-Permissions-Issue-on-Windows 2024-10-30 08:54:58 +02:00
Yazan AbdAl-Rahman
b104d1085e
Merge branch 'main' into Fix-UNC-Path-Permissions-Issue-on-Windows 2024-10-21 15:16:05 +03:00
Yazan AbdAl-Rahman
f3456f1871
Merge branch 'main' into Fix-UNC-Path-Permissions-Issue-on-Windows 2024-09-05 10:53:04 +03:00
Yazan AbdAl-Rahman
587b09a6fa
Merge branch 'main' into Fix-UNC-Path-Permissions-Issue-on-Windows 2024-09-03 12:50:25 +03:00
yazan-abdalrahman
53395acb26 Revert "Fix: Address permissions issue for UNC paths on Windows"
This reverts commit 033370da71.
2024-08-21 17:05:33 +03:00
yazan-abdalrahman
033370da71 Fix: Address permissions issue for UNC paths on Windows 2024-08-21 16:27:22 +03:00
yazan-abdalrahman
b4fd2c3e84 Trigger Build 2024-08-21 16:10:07 +03:00
yazan-abdalrahman
a725fe25a2 Merge remote-tracking branch 'origin/Fix-UNC-Path-Permissions-Issue-on-Windows' into Fix-UNC-Path-Permissions-Issue-on-Windows 2024-08-21 15:14:34 +03:00
yazan-abdalrahman
9d733782de Trigger Build 2024-08-21 15:14:13 +03:00
Yazan AbdAl-Rahman
735026c507
Merge branch 'main' into Fix-UNC-Path-Permissions-Issue-on-Windows 2024-08-21 15:06:01 +03:00
yazan-abdalrahman
246271cbfe Fix: Address permissions issue for UNC paths on Windows 2024-08-21 15:04:15 +03:00

View file

@ -2884,6 +2884,14 @@ impl PermissionsContainer {
fn is_normalized_windows_drive_path(path: &Path) -> bool {
let s = path.as_os_str().as_encoded_bytes();
// Check if the path is a UNC path (e.g., \\Server\Share\Folder)
// UNC paths typically contain "\\" at the start or somewhere in the middle
if s.windows(2).any(|window| window == b"\\\\") {
return true;
}
// Original check for normalized drive paths (e.g., \\?\C:\)
// \\?\X:\
if s.len() < 7 {
false