Skip to content

/application/env/{propertyName} returns 200 for a property that does not exist #10179

@snicoll

Description

@snicoll

If you query the env endpoint for a property and that property doesn't exist (Environment#containsProperty returns false), the web endpoint returns a 200.

We could return null in the endpoint method to make it return a 404 instead but we'd lose the information about which property sources are active.

Metadata

Metadata

Assignees

Labels

type: regressionA regression from a previous release

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions