1

We have an SVG script and i just want to know if it is safe to reference it as http?

var ns = { 'svg': 'http://www.w3.org/2000/svg' };

I have tried making it as https but it breaks my icons. Is it possible to make it https?

Alex Wayne
  • 178,991
  • 47
  • 309
  • 337
Zilch
  • 15
  • 7

1 Answers1

1

This is a namespace (hint: look at the variable name ns!). This address will not be fetched, it is just used to indicate which specifications have been used to create this SVG markup. So it is safe for it not to be HTTPS since no data will actually be exchanged with this address.

Sheraff
  • 5,730
  • 3
  • 28
  • 53