• Scott Frederick's avatar
    Prevent serialization exception from Env actuator · 1a3f810c
    Scott Frederick authored
    When `EnvironmentEndpoint` is building a response to return to the
    web infrastructure, it creates a data structure containing all
    property values from all property sources. Prior to this commit, it
    was possible for the response data structure to contain property
    values that were not serializable to JSON by Jackson, which would
    cause an exception to be thrown by the web infrastructure. This
    commit ensures the data structure is serializable to JSON by
    ensuring property values are primitives or Strings, and returning
    a placeholder value if a property value is of any other type.
    
    Fixes gh-23805
    1a3f810c
Name
Last commit
Last update
.github Loading commit data...
buildSrc Loading commit data...
ci Loading commit data...
eclipse Loading commit data...
git/hooks Loading commit data...
gradle/wrapper Loading commit data...
idea Loading commit data...
spring-boot-project Loading commit data...
spring-boot-tests Loading commit data...
src Loading commit data...
.editorconfig Loading commit data...
.gitignore 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...
SUPPORT.adoc Loading commit data...
build.gradle Loading commit data...
gradle.properties Loading commit data...
gradlew Loading commit data...
gradlew.bat Loading commit data...
settings.gradle Loading commit data...