Manually concatenate ACRH headers to not include a space (#36455)

headers library will join values with `, ` (comma space) but
Access-Control-Request-Headers specifies that it does not use the normal
combining algorithm and values should be joined with `,` (comma).

Testing: WPT tests exist
Fixes: temporary fix for #36451 until hyperium/headers#207 is fixed

---------

Signed-off-by: Sebastian C <sebsebmc@gmail.com>
This commit is contained in:
Sebastian C 2025-04-11 12:01:55 -05:00 committed by GitHub
parent 0c8bb8287a
commit 87c40b4168
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 15 additions and 26 deletions

View file

@ -1,14 +0,0 @@
[cors-preflight.any.html]
[CORS [GET\] [several headers\], server allows]
expected: FAIL
[CORS [PUT\] [several headers\], server allows]
expected: FAIL
[cors-preflight.any.worker.html]
[CORS [GET\] [several headers\], server allows]
expected: FAIL
[CORS [PUT\] [several headers\], server allows]
expected: FAIL

View file

@ -1,3 +0,0 @@
[access-control-preflight-request-header-sorted.htm]
[Tests that Access-Control-Request-Headers are sorted.]
expected: FAIL