spring-boot/spring-boot-project
Phillip Webb 3ddfd62f16 Prefer file resolution when loading SSL content
Update `SslAutoConfiguration` so that the used resource loader prefers
file based resolution when paths are specified without a prefix. This
restores the behavior found in Spring Boot 3.3.

The `ApplicationResourceLoader` has been updated with a new `get` method
that accepts a `preferFileResolution` parameter. Unfortunately, we can't
directly influence the resource returned by the delegate
`ResourceLoader` since we can't override `getResourceByPath(...)`.
Instead we check if the returned type was likely to have been created
by a call to that method. If so, we change it to a `FileSystemResource`.

This approach should hopefully work with `DefaultResourceLoader` and
subclasses.

Fixes gh-43274
2024-12-03 15:00:15 -08:00
..
spring-boot Prefer file resolution when loading SSL content 2024-12-03 15:00:15 -08:00
spring-boot-actuator Reject non-scalar endpoint parameter with Jersey 2024-11-19 16:47:02 +01:00
spring-boot-actuator-autoconfigure Polish "Fix property name in OnEnabledLoggingExportConditionTests" 2024-12-02 13:52:01 +01:00
spring-boot-autoconfigure Prefer file resolution when loading SSL content 2024-12-03 15:00:15 -08:00
spring-boot-dependencies Remove prohibited undertow upgrade restriction 2024-12-02 09:36:01 +01:00
spring-boot-devtools Merge branch '3.3.x' 2024-11-22 15:46:38 +00:00
spring-boot-docker-compose Polish 2024-11-29 10:35:11 +01:00
spring-boot-docs Fix actuator access documentation to use 'none' rather than 'disabled' 2024-12-03 12:01:07 -08:00
spring-boot-parent Centralize dependency management of Commons Compress 2024-11-04 11:45:41 +00:00
spring-boot-starters Merge branch '3.3.x' 2024-11-26 13:42:40 +00:00
spring-boot-test Merge branch '3.3.x' 2024-11-22 15:46:38 +00:00
spring-boot-test-autoconfigure Merge branch '3.3.x' 2024-11-08 11:04:29 +00:00
spring-boot-testcontainers Polish 2024-11-29 10:35:11 +01:00
spring-boot-tools Merge branch '3.3.x' 2024-12-02 13:59:53 -08:00