Bug 206735 - safari > 11.1 does not set/send cookies from iframes on non IANA tlds (.epost , .vcom)
Summary: safari > 11.1 does not set/send cookies from iframes on non IANA tlds (.epost...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Frames (show other bugs)
Version: Safari 13
Hardware: Mac iOS 13
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-01-24 04:27 PST by mdob
Modified: 2020-01-26 13:42 PST (History)
5 users (show)

See Also:


Attachments
Sample to reproduce the bug (3.79 KB, application/zip)
2020-01-24 04:27 PST, mdob
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description mdob 2020-01-24 04:27:42 PST
Created attachment 388673 [details]
Sample to reproduce the bug

What I intended to do
* I want to set/send a cookie from an iframe.

What actually happened
* No cookies were set/send.

How to reproduce

Requirements:
* two network interfaces (e.g.: wlan, eth)
* python3
* safari > 11.1
Setup:
* identify your ip addresses from your interfaces e.g.: ip addr
* e.g.: wlp3s0: 192.168.1.2 , enp0s31f6: 192.168.1.3
* Add this to your "/etc/hosts":
* 192.168.1.2 iframe.safari.vcom
* 192.168.1.3 www.safari.vcom
* extract example.zip
Start
parent:
* For a binding on port 80 root rights are required.
* cd cookie-playground/parent
* sudo python httpServer.py
iframe:
* For a binding on port 80 root rights are required.
* cd cookie-playground/iframe
* sudo python httpServer.py

open http://www.safari.vcom with safari > 11.1
Comment 1 Radar WebKit Bug Importer 2020-01-26 13:28:07 PST
<rdar://problem/58904923>
Comment 2 John Wilander 2020-01-26 13:42:58 PST
This sounds like something related to the Public Suffix list.