mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-04-22 15:27:29 -04:00
Merge pull request #231 from Alkarex/patch-5
Filtrage des événements JavaScript
This commit is contained in:
@@ -198,6 +198,10 @@ class Feed extends Model {
|
||||
'input', 'marquee', 'meta', 'noscript',
|
||||
'param', 'script', 'style'
|
||||
));
|
||||
$feed->strip_attributes(array_merge($feed->strip_attributes, array(
|
||||
'onload', 'onunload', 'onclick', 'ondblclick', 'onmousedown', 'onmouseup',
|
||||
'onmouseover', 'onmousemove', 'onmouseout', 'onfocus', 'onblur',
|
||||
'onkeypress', 'onkeydown', 'onkeyup', 'onselect', 'onchange')));
|
||||
$feed->init ();
|
||||
|
||||
if ($feed->error ()) {
|
||||
|
||||
Reference in New Issue
Block a user