mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-07-15 01:07:30 +08:00
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-antlib | ||
spring-boot-autoconfigure-processor | ||
spring-boot-buildpack-platform | ||
spring-boot-cli | ||
spring-boot-configuration-metadata | ||
spring-boot-configuration-metadata-changelog-generator | ||
spring-boot-configuration-processor | ||
spring-boot-gradle-plugin | ||
spring-boot-gradle-test-support | ||
spring-boot-jarmode-layertools | ||
spring-boot-loader | ||
spring-boot-loader-classic | ||
spring-boot-loader-tools | ||
spring-boot-maven-plugin | ||
spring-boot-properties-migrator | ||
spring-boot-test-support |