WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
259926
Webkit sends corrupted referer header for service worker script request
https://bugs.webkit.org/show_bug.cgi?id=259926
Summary
Webkit sends corrupted referer header for service worker script request
palani
Reported
2023-08-08 03:47:37 PDT
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.
Attachments
screenshot of access logs
(54.93 KB, image/png)
2023-08-08 03:47 PDT
,
palani
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-08-08 13:37:51 PDT
<
rdar://problem/113583213
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug