Skip to content

Don't use object tag (for SVGs) #6162

Description

@rugk

In order to make it good for a CSP (#3632) a big thing is just to remove that object tag. It is usually used to embed flash or other "active content", which nobody uses anymore, so in order to block flash and other nasty things, you have not use the object tag

I also don't see any reason. SVGs are images, so use svg.

I read this and maybe you use it to manipulate them from teh outside? In this case, BTW, you can always just embed the SVG itself in the HTML, which is a nicer solution than using object.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions