mirror of
https://github.com/denoland/deno.git
synced 2024-11-24 15:19:26 -05:00
558d2a098b
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 |
||
---|---|---|
.. | ||
benchmarks | ||
ops | ||
polyfills | ||
build.rs | ||
Cargo.toml | ||
clippy.toml | ||
global.rs | ||
lib.rs | ||
polyfill.rs | ||
README.md |
deno_node
require
and other node related functionality for Deno.