1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-27 01:29:14 -05:00
denoland-deno/tests
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
..
config chore: use @std prefix for internal module specifiers (#24543) 2024-07-25 10:26:54 +10:00
ffi chore: update to std@2024.07.19 (#24715) 2024-07-25 15:30:28 +10:00
integration Revert "test: run unit tests with DENO_FUTURE=1 (#24400)" (#25060) 2024-08-15 23:30:06 +00:00
napi chore: update the copyright of c, mjs, and jsx (#25005) 2024-08-12 12:41:32 -04:00
node_compat feat: vm rewrite (#24596) 2024-08-06 12:52:53 +00:00
registry fix(ext/node): fix prismjs compatibiliy in Web Worker (#25062) 2024-08-17 11:16:43 +09:00
specs fix(ext/node): fix prismjs compatibiliy in Web Worker (#25062) 2024-08-17 11:16:43 +09:00
testdata fix(ext/node): improve shelljs compat with managed npm execution (#24912) 2024-08-16 12:48:48 +09:00
unit Revert "test: run unit tests with DENO_FUTURE=1 (#24400)" (#25060) 2024-08-15 23:30:06 +00:00
unit_node fix(node/http): wrong req.url value (#25081) 2024-08-18 15:37:39 +00:00
util chore: upgrade to rust 1.80 (#24778) 2024-07-29 12:58:04 -04:00
wpt feat(fetch): accept async iterables for body (#24623) 2024-08-06 00:13:02 -07:00
Cargo.toml chore: upgrade flaky_test, fastwebsockets, base64, base32, notify (#24746) 2024-08-01 08:35:35 -04:00
lib.rs chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
README.md chore: continue tests/ re-org (#22396) 2024-02-12 17:13:14 -07:00

Deno Integration Tests