Re: [whatwg/fetch] Chromium's implementation of use-URL-credentials probably does not match the spec (Issue #1496)

Stripping the username and password also doesn't match the algorithm in [HTTP-network-or-cache fetch](https://fetch.spec.whatwg.org/#concept-http-network-or-cache-fetch), which roughly uses the flag only when both URL credentials and authentication side table credentials are present. In other words, if *only* URL credentials are present, the spec still uses them, whereas Chromium does not (since they are stripped from the URL). See https://github.com/whatwg/fetch/pull/1498#discussion_r985369200 for a more detailed analysis.

So yeah, tests needed in general...

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/1496#issuecomment-1267899577
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/fetch/issues/1496/1267899577@github.com>

Received on Wednesday, 5 October 2022 03:51:48 UTC