Skip to content

Commit

Permalink
Add more event handlers to sanitize
Browse files Browse the repository at this point in the history
  • Loading branch information
kksidd committed Apr 16, 2019
1 parent 9a929c9 commit 306b6c8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions couch/parser/HTMLParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,8 @@ function sanitize( $val ){
'onhashchange', 'onmessage', 'onoffline', 'ononline', 'onpagehide', 'onpageshow', 'onpopstate', 'onstorage', 'onundo', 'onredo',
'oninvalid', 'onsearch', 'onwheel', 'oncanplay', 'oncuechange', 'ondurationchange', 'onemptied', 'onplay', 'onratechange',
'onstalled', 'onsuspend', 'ontimeupdate', 'onvolumechange', 'onwaiting', 'onshow', 'ontoggle',
'onanimation', 'onauxclick', 'onfullscreen', 'ongotpointercapture', 'onlostpointercapture', 'onpointer', 'onorientationchange',
'ontouch', 'ontransition', 'onvisibilitychange', 'onwebkit', 'onmoz',
);

for( $i = 0; $i < count($ra2); $i++ ){
Expand Down

0 comments on commit 306b6c8

Please sign in to comment.