Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Apply DOMPurify to marked output#187

Merged
smashwilson merged 2 commits intomasterfrom
dompurify
Mar 22, 2018
Merged

Apply DOMPurify to marked output#187
smashwilson merged 2 commits intomasterfrom
dompurify

Conversation

@hansonw
Copy link
Contributor

@hansonw hansonw commented Mar 21, 2018

See #185 for the motivation behind this.

The DOMPurify API is super straightforward to use. I manually tested this in Atom by attempting to display a notification with an iframe (the iframe is stripped out now) and also added a spec.

@lee-dohm
Copy link
Contributor

@smashwilson Would you mind taking a look here?

@smashwilson
Copy link
Contributor

👍 LGTM

@smashwilson smashwilson merged commit a40e3b8 into master Mar 22, 2018
@smashwilson smashwilson deleted the dompurify branch March 22, 2018 00:18
@smashwilson
Copy link
Contributor

I'll get this published in a new atom/notifications release and in atom/atom master tomorrow. Thanks again!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants