1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-28 16:20:57 -05:00
denoland-deno/ext/node
Marvin Hagemeister 558d2a098b
fix(node/http): wrong req.url value (#25081)
This PR addresses a regression introduced in
https://github.com/denoland/deno/pull/25021 that would cause the
`req.url` parameter in Node's http server to always be a single
character instead of the expected value. The regression was caused by
effectively calling `.indexOf()` on an empty string and thus passing the
wrong index for slicing.

```js
"".indexOf("/") // -> -1
request.url.slice(-1) // effectively only giving us the last character
```

Fixes https://github.com/denoland/deno/issues/25080
2024-08-18 15:37:39 +00:00
..
benchmarks chore: update the copyright of c, mjs, and jsx (#25005) 2024-08-12 12:41:32 -04:00
ops fix(node): Create additional pipes for child processes (#25016) 2024-08-15 09:38:46 -07:00
polyfills fix(node/http): wrong req.url value (#25081) 2024-08-18 15:37:39 +00:00
build.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
Cargo.toml fix(ext/node): rewrite X509Certificate resource and add publicKey() (#24988) 2024-08-11 18:58:54 +05:30
clippy.toml refactor(ext/fs): deno_fs::FileSystem - conditional Send + Sync (#18993) 2023-05-08 11:02:02 -04:00
global.rs fix(ext/node): fix prismjs compatibiliy in Web Worker (#25062) 2024-08-17 11:16:43 +09:00
lib.rs fix: node:inspector not being registered (#25007) 2024-08-14 12:33:42 +00:00
polyfill.rs fix: node:inspector not being registered (#25007) 2024-08-14 12:33:42 +00:00
README.md chore(ext/node): correct publishing for ext/node (#15461) 2022-08-11 17:25:41 -04:00

deno_node

require and other node related functionality for Deno.