• Andy Wilkinson's avatar
    Remove HalJsonMvcEndpoint’s redirect and add links to both paths instead · 69b60f6d
    Andy Wilkinson authored
    Previously, HalJsonMvcEndpoint used a redirect to go from path/ to path.
    When the actuator’s configured to use a custom context path this
    redirect was leading to an infinite redirect loop.
    
    This commit removes the redirect in favour of updating the controller
    advice to apply the links to requests for path and path/.
    
    Closes gh-4853
    69b60f6d
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...