Skip to content

404 response from /actuator/env/{toMatch} should have no body #20314

@hennr

Description

@hennr

Hi,

I justed stumbled upon a strange behaviour of the /actuator/env/{toMatch} endpoint, e.g. /actuator/env/activeProfiles
It returns content but with a 404 status code while I was expecting a 200.

I see this with spring-boot 2.1.6 and 2.2.4 alike.
Let me know if you need a demo project in case you are unable to reproduce it.

I am not sure if these topics are related? #18191 | #608

Thanks in advance!

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions