| Summary: | Webkit sends corrupted referer header for service worker script request | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | palani | ||||
| Component: | Service Workers | Assignee: | Nobody <webkit-unassigned> | ||||
| Status: | NEW --- | ||||||
| Severity: | Normal | CC: | achristensen, bfulgham, cdumez, webkit-bug-importer, wilander, youennf | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | Other | ||||||
| Hardware: | Unspecified | ||||||
| OS: | All | ||||||
| Attachments: |
|
||||||
Created attachment 467220 [details] screenshot of access logs After deploying service worker in the production for large volume of users, we noticed safari sending corrupted referrer header for service worker script requests. The corrupted request header is just 6 characters 'https:'. We use cloudflare and in the cloudflare logs we can see the referrer as 'https:' for some of the service worker script requests. We are not able to reproduce the issue and but its happening in production for a small percent of users (0.5%). Its happening for all safari versions (14, 15, 16). This is happening only for the service worker script requests. (The url which we provide in the service worker registration). All other subsequent requests (importScript()) and all other fetch() calls from service worker were unaffected by this issue. The corrupted request header is always just 6 characters 'https:', Nothing else.