mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-07-15 01:07:30 +08:00
7708ec7592
Update `Path` creation for nested locations to allow both UNC and classic file references to be used. This commit attempts to align our URL handling with that of standard file URLs. The `NestedLocation` class no longer attempts to remove leading all `\` characters and instead only removes the first `\` when the second char is `:`. This duplicates the logic found in Java's own internal `WindowsUriSupport` class which is used when calling `Path.of(url)` with a `file:` URL. Fixes gh-40549 |
||
---|---|---|
.. | ||
spring-boot | ||
spring-boot-actuator | ||
spring-boot-actuator-autoconfigure | ||
spring-boot-autoconfigure | ||
spring-boot-dependencies | ||
spring-boot-devtools | ||
spring-boot-docker-compose | ||
spring-boot-docs | ||
spring-boot-parent | ||
spring-boot-starters | ||
spring-boot-test | ||
spring-boot-test-autoconfigure | ||
spring-boot-testcontainers | ||
spring-boot-tools |