Bug 263245 - Query Parameters are not pass to the client on the target page when clicking an google advertisement in private browsing
Summary: Query Parameters are not pass to the client on the target page when clicking ...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: Safari 17
Hardware: iPhone / iPad iOS 17
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-10-17 04:17 PDT by duc-thanh.vu
Modified: 2023-12-08 11:41 PST (History)
4 users (show)

See Also:


Attachments
location.search (queryparamaters) is empty (882.32 KB, image/png)
2023-10-17 04:17 PDT, duc-thanh.vu
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description duc-thanh.vu 2023-10-17 04:17:44 PDT
Created attachment 468244 [details]
location.search (queryparamaters) is empty

How to reproduce:
1. Open a inkognito tab
2. Open Google Search
3. Search for any search term which shows the "Sponsored" lane in google
4. F.e. nike air force 1 in locales: DE or IE
5. Click on any product advertisement within the sponsored lane
6. Observe that the query parameter is shown within the URL
7. Observe that the query parameter is cannot be read by the client

Expected: 
- the query parameters are pass to the client
Comment 1 Alexey Proskuryakov 2023-10-17 09:08:15 PDT
I think that this is by design, private browsing needs to prevent tracking. CC'ing Wenson who would know for certain.
Comment 2 Radar WebKit Bug Importer 2023-10-24 04:18:15 PDT
<rdar://problem/117404717>
Comment 3 Wenson Hsieh 2023-12-08 11:41:30 PST
This is indeed by design. Note that these query parameters are only hidden from JavaScript access (they're still sent to the server).