Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding security.js with 1st attempt at is_safe #4973

Closed
wants to merge 4 commits into from

Conversation

ellisonbg
Copy link
Member

Ongoing work

// detects 1) black listed tags, 2) blacklisted attributes, 3) all
// event attributes (onhover, onclick, etc.).
var black_tags = ['script', 'style'];
var black_attrs = ['style'];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is CSS dangerous? Blacklisting style seems a bit dramatic.

@ellisonbg ellisonbg added this to the 2.0 milestone Feb 5, 2014
@ellisonbg ellisonbg self-assigned this Feb 5, 2014
@ellisonbg ellisonbg closed this Feb 22, 2014
@ellisonbg ellisonbg deleted the clean-markdown branch March 6, 2014 22:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants