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

Compare commits

...

16 commits

Author SHA1 Message Date
Yazan AbdAl-Rahman
46a4ff8029
Merge b9b7163c46 into e4a16e91fa 2025-01-19 21:16:45 -06:00
ryu
e4a16e91fa
docs(readme): update redirected links (#27726) 2025-01-20 03:01:25 +00: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
3 changed files with 12 additions and 4 deletions

View file

@ -6,8 +6,8 @@
<img align="right" src="https://deno.land/logo.svg" height="150px" alt="the deno mascot dinosaur standing in the rain">
[Deno](https://www.deno.com)
([/ˈdiːnoʊ/](http://ipa-reader.xyz/?text=%CB%88di%CB%90no%CA%8A), pronounced
[Deno](https://deno.com)
([/ˈdiːnoʊ/](https://ipa-reader.com/?text=%CB%88di%CB%90no%CA%8A), pronounced
`dee-no`) is a JavaScript, TypeScript, and WebAssembly runtime with secure
defaults and a great developer experience. It's built on [V8](https://v8.dev/),
[Rust](https://www.rust-lang.org/), and [Tokio](https://tokio.rs/).

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

View file

@ -48,8 +48,8 @@ const packages: Package[] = [{
const markdownText = `# Deno
[Deno](https://www.deno.com)
([/ˈdiːnoʊ/](http://ipa-reader.xyz/?text=%CB%88di%CB%90no%CA%8A), pronounced
[Deno](https://deno.com)
([/ˈdiːnoʊ/](https://ipa-reader.com/?text=%CB%88di%CB%90no%CA%8A), pronounced
\`dee-no\`) is a JavaScript, TypeScript, and WebAssembly runtime with secure
defaults and a great developer experience. It's built on [V8](https://v8.dev/),
[Rust](https://www.rust-lang.org/), and [Tokio](https://tokio.rs/).