Browse Source

Polish "Include /fonts/** to common static locations"

See gh-46208
pull/47424/head
Stéphane Nicoll 2 months ago
parent
commit
3f2e1b2466
  1. 1
      module/spring-boot-security/src/test/java/org/springframework/boot/security/autoconfigure/servlet/StaticResourceRequestTests.java

1
module/spring-boot-security/src/test/java/org/springframework/boot/security/autoconfigure/servlet/StaticResourceRequestTests.java

@ -51,6 +51,7 @@ class StaticResourceRequestTests {
assertMatcher(matcher).matches("/favicon.ico"); assertMatcher(matcher).matches("/favicon.ico");
assertMatcher(matcher).matches("/favicon.png"); assertMatcher(matcher).matches("/favicon.png");
assertMatcher(matcher).matches("/icons/icon-48x48.png"); assertMatcher(matcher).matches("/icons/icon-48x48.png");
assertMatcher(matcher).matches("/fonts/font.woff2");
assertMatcher(matcher).doesNotMatch("/bar"); assertMatcher(matcher).doesNotMatch("/bar");
} }

Loading…
Cancel
Save