logoalt Hacker News

OneDeuxTriSeiGotoday at 1:01 AM1 replyview on HN

it'd be nice if there was a way to declare in the URL that a given SVG could only be treated as an image so that you could safely open SVG urls, etc without exposing yourself to the dangers of embed/inline.


Replies

xigoitoday at 5:13 AM

Couldn’t you do that using Content-Security-Policy?

show 1 reply