Skip to content

Safeguard document.cookie for sandboxed applications#78

Merged
developit merged 1 commit intodevelopit:masterfrom
Tattoodo:cookie-safeguard
Apr 29, 2022
Merged

Safeguard document.cookie for sandboxed applications#78
developit merged 1 commit intodevelopit:masterfrom
Tattoodo:cookie-safeguard

Conversation

@donlion
Copy link
Copy Markdown
Contributor

@donlion donlion commented Mar 29, 2022

In sandbox mode (iframes) even trying to read from document.cookie will throw an error.
Screenshot 2022-03-29 at 14 12 21
Therefore I've wrapped the document.cookie reading in a try/catch block.

In sandbox mode (iframes) even trying to read from document.cookie will throw an error
@donlion donlion changed the title Safeguard document.cookie Safeguard document.cookie for sandboxed applications Mar 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants