Code Smell 282 - Bad Defaults and How to Fix Them
Defaults Can Sink You
TL;DR: Treat unknown responses as unauthorized, not as valid.
Problems
Security risks
Ignoring unknown cases
Error Misinterpretation
Defaulting to valid states
Mismatch Auth...