0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-10-30 09:08:00 -04:00
denoland-deno/cli/tests
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
..
integration chore: remove 'fix_exotic_specifier' test (#16143) 2022-10-04 14:24:35 +02:00
testdata chore: remove 'fix_exotic_specifier' test (#16143) 2022-10-04 14:24:35 +02:00
unit fix(ext/fetch): fix illegal header regex (#16236) 2022-10-10 12:06:50 -04:00
integration_tests.rs chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00