• Andy Wilkinson's avatar
    Normalize spec when creating jar URL by removing /../ and /./ · 7a87c69d
    Andy Wilkinson authored
    Previously when Handler was creating a URL from a context URL and a
    spec, any occurrances of /../ or /./ in the spec would be left as-is.
    This differed from the JDK's Handler implementation which normalizes
    the URL by modifying the path to remove any occurrences of /../ or
    /./
    
    This commit updates our Handler implementation to align it with the
    JDK's. Tests have been added to assert that, given the same inputs,
    the two Handler classes produce the same output.
    
    Closes gh-9917
    7a87c69d
Name
Last commit
Last update
.github Loading commit data...
.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-test Loading commit data...
spring-boot-test-autoconfigure Loading commit data...
spring-boot-tools Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
.travis.yml Loading commit data...
CODE_OF_CONDUCT.adoc 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...