• Andy Wilkinson's avatar
    Map empty virtual host to "/" when parsed from an address · 8681a8ad
    Andy Wilkinson authored
    Previously, an address that ended in a "/" would result in the virtual
    host being an empty string. This was inconsistent with setVirtualHost
    which would map an empty string to "/".
    
    This commit updates the address parsing logic to call setVirtualHost
    rather than assigning the value directly to this.virtualHost. This
    ensures that the special handling for an empty string is applied
    consistently.
    
    Closes gh-3304
    8681a8ad
Name
Last commit
Last update
docs Loading commit data...
eclipse Loading commit data...
spring-boot Loading commit data...
spring-boot-actuator 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-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...
spring-boot-versions 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...
pom.xml Loading commit data...