• Andy Wilkinson's avatar
    Check that URL is actually a file URL before getting a File from it · 02e989c8
    Andy Wilkinson authored
    Previously, Log4J2LoggingSystem used ResourceUtils.isFileURL(URL) to
    check that the URL of the configuration was suitable for accessing as a
    File. Unfortunately, this fails when the URL’s protocol is vfs or
    vfsfile as both return true and then fail when the URL is subsequently
    passed into ResourceUtils.getFile(URL).
    
    This commit switches to checking that the URL’s protocol is file,
    the only protocol that will allow getFile(URL) to succeed.
    
    Closes gh-6246
    02e989c8
Name
Last commit
Last update
.mvn Loading commit data...
eclipse Loading commit data...
spring-boot Loading commit data...
spring-boot-actuator Loading commit data...
spring-boot-actuator-docs Loading commit data...
spring-boot-autoconfigure Loading commit data...
spring-boot-cli Loading commit data...
spring-boot-dependencies Loading commit data...
spring-boot-deployment-tests Loading commit data...
spring-boot-devtools Loading commit data...
spring-boot-docs Loading commit data...
spring-boot-full-build Loading commit data...
spring-boot-integration-tests Loading commit data...
spring-boot-parent Loading commit data...
spring-boot-samples Loading commit data...
spring-boot-starters Loading commit data...
spring-boot-tools Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.adoc Loading commit data...
LICENSE.txt Loading commit data...
README.adoc Loading commit data...
mvnw Loading commit data...
mvnw.cmd Loading commit data...
pom.xml Loading commit data...