Skip to content

Commit 3f2e1b2

Browse files
committed
Polish "Include /fonts/** to common static locations"
See gh-46208
1 parent 74daedf commit 3f2e1b2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ void atCommonLocationsShouldMatchCommonLocations() {
5151
assertMatcher(matcher).matches("/favicon.ico");
5252
assertMatcher(matcher).matches("/favicon.png");
5353
assertMatcher(matcher).matches("/icons/icon-48x48.png");
54+
assertMatcher(matcher).matches("/fonts/font.woff2");
5455
assertMatcher(matcher).doesNotMatch("/bar");
5556
}
5657

0 commit comments

Comments
 (0)