Skip to content

Prevent script execution from remote source#37

Merged
michael-lynch merged 3 commits into
michael-lynch:masterfrom
takvol:strip-script
Feb 3, 2019
Merged

Prevent script execution from remote source#37
michael-lynch merged 3 commits into
michael-lynch:masterfrom
takvol:strip-script

Conversation

@takvol

@takvol takvol commented May 1, 2018

Copy link
Copy Markdown
Contributor

This issue was referenced in #16
e.g. when remote file has some failing js, it gets executed instantly and breaks the plugin. Check https://jsfiddle.net/xgbnmf5a/
The problem arise only when using .html() in jQuery 1.8.3. The bug was fixed in 1.9.
Workaround: use innerHTML instead of .html().
See jQuery bug reports here:
https://bugs.jquery.com/ticket/13634
https://bugs.jquery.com/ticket/10470
https://bugs.jquery.com/ticket/11795

takvol added 3 commits April 29, 2018 21:39
Remove scripts from remote data to prevent autoexecution of the scripts
@takvol takvol changed the title Remove scripts from remote source Prevent script execution from remote source May 2, 2018
@michael-lynch michael-lynch merged commit fb34d6d into michael-lynch:master Feb 3, 2019
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