1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2024-11-24 08:12:38 +02:00
imgproxy/svg/unsafe_attrs.go

115 lines
3.8 KiB
Go

package svg
var unsafeAttrs = map[string]struct{}{
"onafterprint": {},
"onafterscriptexecute": {},
"onanimationcancel": {},
"onanimationend": {},
"onanimationiteration": {},
"onanimationstart": {},
"onauxclick": {},
"onbeforecopy": {},
"onbeforecut": {},
"onbeforeinput": {},
"onbeforeprint": {},
"onbeforescriptexecute": {},
"onbeforeunload": {},
"onbegin": {},
"onblur": {},
"onbounce": {},
"oncanplay": {},
"oncanplaythrough": {},
"onchange": {},
"onclick": {},
"onclose": {},
"oncontextmenu": {},
"oncopy": {},
"oncuechange": {},
"oncut": {},
"ondblclick": {},
"ondrag": {},
"ondragend": {},
"ondragenter": {},
"ondragleave": {},
"ondragover": {},
"ondragstart": {},
"ondrop": {},
"ondurationchange": {},
"onend": {},
"onended": {},
"onerror": {},
"onfinish": {},
"onfocus": {},
"onfocusin": {},
"onfocusout": {},
"onfullscreenchange": {},
"onhashchange": {},
"oninput": {},
"oninvalid": {},
"onkeydown": {},
"onkeypress": {},
"onkeyup": {},
"onload": {},
"onloadeddata": {},
"onloadedmetadata": {},
"onloadend": {},
"onloadstart": {},
"onmessage": {},
"onmousedown": {},
"onmouseenter": {},
"onmouseleave": {},
"onmousemove": {},
"onmouseout": {},
"onmouseover": {},
"onmouseup": {},
"onmousewheel": {},
"onmozfullscreenchange": {},
"onpagehide": {},
"onpageshow": {},
"onpaste": {},
"onpause": {},
"onplay": {},
"onplaying": {},
"onpointerdown": {},
"onpointerenter": {},
"onpointerleave": {},
"onpointermove": {},
"onpointerout": {},
"onpointerover": {},
"onpointerrawupdate": {},
"onpointerup": {},
"onpopstate": {},
"onprogress": {},
"onratechange": {},
"onrepeat": {},
"onreset": {},
"onresize": {},
"onscroll": {},
"onsearch": {},
"onseeked": {},
"onseeking": {},
"onselect": {},
"onselectionchange": {},
"onselectstart": {},
"onshow": {},
"onstart": {},
"onsubmit": {},
"ontimeupdate": {},
"ontoggle": {},
"ontouchend": {},
"ontouchmove": {},
"ontouchstart": {},
"ontransitioncancel": {},
"ontransitionend": {},
"ontransitionrun": {},
"ontransitionstart": {},
"onunhandledrejection": {},
"onunload": {},
"onvolumechange": {},
"onwebkitanimationend": {},
"onwebkitanimationiteration": {},
"onwebkitanimationstart": {},
"onwebkittransitionend": {},
"onwheel": {},
}