Skip to content

Add style element to qa_sanitize_html()#740

Merged
svivian merged 2 commits intoq2a:bugfixfrom
alacn1:fix_sanitize_style
Jul 11, 2020
Merged

Add style element to qa_sanitize_html()#740
svivian merged 2 commits intoq2a:bugfixfrom
alacn1:fix_sanitize_style

Conversation

@alacn1
Copy link
Contributor

@alacn1 alacn1 commented Feb 7, 2019

It's possible to inject style element when posting a question/answer and with it override page css.
This commit add style element to qa_sanitize_html().

@alacn1 alacn1 force-pushed the fix_sanitize_style branch from 3764220 to e19bb69 Compare February 7, 2019 15:44
@alacn1 alacn1 changed the title Add style element to qa_sanitize_html(). Add style element to qa_sanitize_html() Feb 7, 2019
@svivian svivian merged commit 6a06aa8 into q2a:bugfix Jul 11, 2020
@svivian
Copy link
Collaborator

svivian commented Jul 11, 2020

Wow, somehow I completely missed this PR. A belated thanks for the contribution!

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