Currently, in org.springframework.boot.autoconfigure.security.StaticResourceLocation, there is only favicon.ico support. Given that favicons can be SVG images now as well, it might be good to add support for those?

I believe just changing:

FAVICON("/**/favicon.ico");

to

FAVICON("/**/favicon.ico", "/**/favicon.svg");

should be enough?

(Note sure why there is /** in there. Aren't favicons located at the root always?)

Comment From: philwebb

There's an issue about the /**/ path open in #22833