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

Sanitise attributes with jQuery #770

Merged
merged 1 commit into from
Feb 20, 2016
Merged

Conversation

makkaq
Copy link
Contributor

@makkaq makkaq commented Nov 17, 2015

In order to use this library on Wordpress VIP it has to pass through their security checks. They highlighted the use of unsanitised variables in the creation of the img element on line 783 of core.js as a problem that prevented us from using the code. This fix was what allowed me to deploy it.

@jonscottclark
Copy link
Contributor

Looks nicer too :)
:shipit:

dimsemenov added a commit that referenced this pull request Feb 20, 2016
Sanitize attributes with jQuery when replacing img element
@dimsemenov dimsemenov merged commit b083e52 into dimsemenov:master Feb 20, 2016
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.

3 participants