[Webkit-unassigned] [Bug 272748] New: Lone LF (\n) in response to custom fetch results in timeouts

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 16 06:00:14 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=272748

            Bug ID: 272748
           Summary: Lone LF (\n) in response to custom fetch results in
                    timeouts
           Product: WebKit
           Version: Safari 17
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jannis.rautenstrauch at cispa.de

If a lone LF is an a response to a custom fetch request, the request loads forever/times out.
If it is a simple fetch, the request errors/fails immediately.

Response:
```
HTTP/1.1 200
\naccess-control-allow-credentials: true
more-headers

body
```

- Load failed with a simple fetch request: http://sub.headers.websec.saarland/_hp/tests/fetch-cors.sub.html?resp_type=parsing&browser_id=1&label=CORS-ACAC&first_id=10059&last_id=10063&scheme=http&t_resp_id=10060&t_element_relation=GET_simple&t_resp_origin=https://headers.webappsec.eu
- Loads until the timeout (of 5s) with a fetch with a custom header (but same for custom method): http://sub.headers.websec.saarland/_hp/tests/fetch-cors.sub.html?resp_type=parsing&browser_id=1&label=CORS-ACAC&first_id=10059&last_id=10063&scheme=http&t_resp_id=10060&t_element_relation=GET_custom_headers&t_resp_origin=https://headers.webappsec.eu
- I would expect both cases to behave the same

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240416/d224200f/attachment.htm>


More information about the webkit-unassigned mailing list