1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 01:07:36 +00:00

LibWebView: Reject cookies whose domain is on the Public Suffix List

This commit is contained in:
Timothy Flynn 2023-10-20 10:45:30 -04:00 committed by Andreas Kling
parent 9f9e5c0f55
commit a39eebeb74
2 changed files with 15 additions and 1 deletions

View file

@ -20,6 +20,8 @@
<label for=invalid4>The cookie expired in the past</label>
<br /><input id=invalid5 type=button onclick="setTooLargeCookie()" value="cookie10=[more than 4096 chars]" />
<label for=invalid5>The cookie is too large</label>
<br /><input id=invalid6 type=button onclick="setCookie(this.value)" value="cookie11=value11; domain=uk.gov" />
<label for=invalid6>The cookie's domain is on the Public Suffix List</label>
<br />
<h3>Unretrievable cookies (the browser should accept these but not display them):</h3>