0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-10-30 09:08:00 -04:00
denoland-deno/ext
Marcos Casagrande 0cd05d7377
fix(ext/fetch): fix illegal header regex (#16236)
This PR fixes invalid header parsing which is flaky because `g` flag is
being used in the regex, which keeps track of `lastIndex`

```javascript
try {
  new Headers([["x", "\u0000x"]]);  // error
} catch(e) {}
new Headers([["x", "\u0000x"]]); // no error
```

This issue affects `Response` & `Request` constructors as well
2022-10-10 12:06:50 -04:00
..
broadcast_channel chore: forward v1.26.1 release commit to main (#16178) 2022-10-06 16:49:40 -04:00
cache feat(core): add Deno.core.writeAll(rid, chunk) (#16228) 2022-10-10 10:28:35 +02:00
console fix sparse array inspection (#16204) 2022-10-10 10:22:21 -04:00
crypto perf(ext/crypto): optimize getRandomValues (#16212) 2022-10-09 15:38:38 +05:30
fetch fix(ext/fetch): fix illegal header regex (#16236) 2022-10-10 12:06:50 -04:00
ffi fix(ext/ffi): Fix usize and isize FFI callback parameters missing match arm (#16172) 2022-10-07 10:20:18 +05:30
flash feat(core): improve resource read & write traits (#16115) 2022-10-09 14:49:25 +00:00
http feat(core): improve resource read & write traits (#16115) 2022-10-09 14:49:25 +00:00
napi fix(napi): move napi symbols file (#16179) 2022-10-07 09:21:43 +05:30
net feat(core): add Deno.core.writeAll(rid, chunk) (#16228) 2022-10-10 10:28:35 +02:00
node chore: forward v1.26.1 release commit to main (#16178) 2022-10-06 16:49:40 -04:00
tls chore: forward v1.26.1 release commit to main (#16178) 2022-10-06 16:49:40 -04:00
url chore: forward v1.26.1 release commit to main (#16178) 2022-10-06 16:49:40 -04:00
web feat(core): add Deno.core.writeAll(rid, chunk) (#16228) 2022-10-10 10:28:35 +02:00
webgpu chore: forward v1.26.1 release commit to main (#16178) 2022-10-06 16:49:40 -04:00
webidl chore: forward v1.26.1 release commit to main (#16178) 2022-10-06 16:49:40 -04:00
websocket chore: forward v1.26.1 release commit to main (#16178) 2022-10-06 16:49:40 -04:00
webstorage chore: forward v1.26.1 release commit to main (#16178) 2022-10-06 16:49:40 -04:00