From 3f2e1b246673defb153d1db8df36adcd2cea9930 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Nicoll?= Date: Mon, 6 Oct 2025 08:51:17 +0200 Subject: [PATCH] Polish "Include /fonts/** to common static locations" See gh-46208 --- .../autoconfigure/servlet/StaticResourceRequestTests.java | 1 + 1 file changed, 1 insertion(+) diff --git a/module/spring-boot-security/src/test/java/org/springframework/boot/security/autoconfigure/servlet/StaticResourceRequestTests.java b/module/spring-boot-security/src/test/java/org/springframework/boot/security/autoconfigure/servlet/StaticResourceRequestTests.java index 9576b2babbb..50b3005bbdf 100644 --- a/module/spring-boot-security/src/test/java/org/springframework/boot/security/autoconfigure/servlet/StaticResourceRequestTests.java +++ b/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.png"); assertMatcher(matcher).matches("/icons/icon-48x48.png"); + assertMatcher(matcher).matches("/fonts/font.woff2"); assertMatcher(matcher).doesNotMatch("/bar"); }