File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
spring-boot-project/spring-boot/src
java/org/springframework/boot/web/server
resources/org/springframework/boot/web/server
test/java/org/springframework/boot/web/server Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ org.gradle.parallel=true
55org.gradle.jvmargs =-Xmx2g -Dfile.encoding =UTF-8
66
77kotlinVersion =1.7.22
8- tomcatVersion =10.1.7
8+ tomcatVersion =10.1.8
99nativeBuildToolsVersion =0.9.21
1010
1111kotlin.stdlib.default.dependency =false
Original file line number Diff line number Diff line change @@ -259,7 +259,7 @@ static final class DefaultMimeMappings extends MimeMappings {
259259 mappings .add ("jpe" , "image/jpeg" );
260260 mappings .add ("jpeg" , "image/jpeg" );
261261 mappings .add ("jpg" , "image/jpeg" );
262- mappings .add ("js" , "application /javascript" );
262+ mappings .add ("js" , "text /javascript" );
263263 mappings .add ("json" , "application/json" );
264264 mappings .add ("otf" , "font/otf" );
265265 mappings .add ("pdf" , "application/pdf" );
Original file line number Diff line number Diff line change @@ -381,7 +381,7 @@ jpg=image/jpeg
381381jpgm =video/jpm
382382jpgv =video/jpeg
383383jpm =video/jpm
384- js =application /javascript
384+ js =text /javascript
385385jsf =text/plain
386386json =application/json
387387jsonml =application/jsonml+json
Original file line number Diff line number Diff line change @@ -221,7 +221,7 @@ void mimeMappingsMatchesTomcatDefaults() throws IOException {
221221 .loadProperties (new ClassPathResource ("mime-mappings.properties" , getClass ()));
222222 Properties tomcatDefaultMimeMappings = PropertiesLoaderUtils
223223 .loadProperties (new ClassPathResource ("MimeTypeMappings.properties" , Tomcat .class ));
224- assertThat (ourDefaultMimeMappings ).isEqualTo (tomcatDefaultMimeMappings );
224+ assertThat (ourDefaultMimeMappings ).containsExactlyInAnyOrderEntriesOf (tomcatDefaultMimeMappings );
225225 }
226226
227227 @ Test
You can’t perform that action at this time.
0 commit comments