+12
−1
Loading
As per comments on this PR, and similar to how the ALTCHA challenge validation endpoint was hardened, it's important to prevent junk traffic to the subscription-validation endpoint from causing exceptions to bubble up to the user-visible surface. This commit performs this work by: - Rejecting traffic containing no message body with a 400 error - Rejecting traffic contaning invalid, non-JSON content with a 400 error