loading SVG via <img> instead of <object> to stop inline JS execution

This commit is contained in:
Daku
2017-03-18 00:13:16 +00:00
parent e2272e7786
commit 2b62cc8171
2 changed files with 3 additions and 4 deletions

View File

@@ -3,7 +3,7 @@
* Name: Handle SVG
* Author: Shish <webmaster@shishnet.org>
* Link: http://code.shishnet.org/shimmie2/
* Description: Handle SVG files. (No thumbnail is generated for SVG files)
* Description: Handle static SVG files. (No thumbnail is generated for SVG files)
*/
class SVGFileHandler extends Extension {