1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-21 23:04:45 -05:00
denoland-deno/ext
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
..
broadcast_channel chore: forward v1.45.5 release commit to main (#24818) 2024-07-31 15:14:27 -07:00
cache chore: forward v1.45.5 release commit to main (#24818) 2024-07-31 15:14:27 -07:00
canvas docs(ext/canvas): document public Canvas APIs (#24895) 2024-08-06 13:45:16 +09:00
console fix(ext/console): render properties of Intl.Locale (#24827) 2024-08-01 09:45:05 -07:00
cron chore: forward v1.45.5 release commit to main (#24818) 2024-07-31 15:14:27 -07:00
crypto chore: forward v1.45.5 release commit to main (#24818) 2024-07-31 15:14:27 -07:00
fetch fix(ext/fetch): include TCP src/dst socket info in error messages (#24939) 2024-08-08 08:47:15 -07:00
ffi chore: forward v1.45.5 release commit to main (#24818) 2024-07-31 15:14:27 -07:00
fs chore: forward v1.45.5 release commit to main (#24818) 2024-07-31 15:14:27 -07:00
http feat(serve): Opt-in parallelism for deno serve (#24920) 2024-08-14 22:26:21 +00:00
io fix(node): Create additional pipes for child processes (#25016) 2024-08-15 09:38:46 -07:00
kv chore: forward v1.45.5 release commit to main (#24818) 2024-07-31 15:14:27 -07:00
napi chore: forward v1.45.5 release commit to main (#24818) 2024-07-31 15:14:27 -07:00
net feat(serve): Opt-in parallelism for deno serve (#24920) 2024-08-14 22:26:21 +00:00
node fix(node/http): wrong req.url value (#25081) 2024-08-18 15:37:39 +00:00
node_resolver feat: upgrade V8 to 12.8 (#24693) 2024-07-31 23:22:34 +00:00
tls chore: forward v1.45.5 release commit to main (#24818) 2024-07-31 15:14:27 -07:00
url fix(urlpattern): correct typings for added APIs (#24881) 2024-08-05 07:21:57 -07:00
web docs: improve TextDecoder and TextEncoder jsdoc (#24890) 2024-08-06 09:56:54 +02:00
webgpu fix(webgpu): Fix GPUAdapter#isFallbackAdapter and GPUAdapter#info properties (#24914) 2024-08-07 02:17:33 -07:00
webidl feat(fetch): accept async iterables for body (#24623) 2024-08-06 00:13:02 -07:00
websocket chore: forward v1.45.5 release commit to main (#24818) 2024-07-31 15:14:27 -07:00
webstorage chore: forward v1.45.5 release commit to main (#24818) 2024-07-31 15:14:27 -07:00