fix: Empty environment variable is catch like empty string and cause 200 OK response when no header is send #53
Labels
aspect/dex 🤖
Concerns developers' experience with the codebase
domain/obvious 🟩
Represents the "known knowns" issue. It's Obviously
priority/medium 🟨
Priority 3 - Not blocking but should be fixed soon
state/triage 🚦
Has not been triaged & therefore, not ready for work
type/bug 🔥
Something isn't working
Milestone
Describe the bug
When the configuration of a webhook entry is defined to load a value from an environment variable and the env variable is not set, we can pass the security with an empty header or no header.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Check if the environment variable is correctly set before get it. Its usefull to prevent misspell or typo error
The text was updated successfully, but these errors were encountered: