Skip to content

Sanitise attributes with jQuery#770

Merged
dimsemenov merged 1 commit into
dimsemenov:masterfrom
makkaq:master
Feb 20, 2016
Merged

Sanitise attributes with jQuery#770
dimsemenov merged 1 commit into
dimsemenov:masterfrom
makkaq:master

Conversation

@makkaq

@makkaq makkaq commented Nov 17, 2015

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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