You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Reject Turnstile responses that omit an expected action #9
When a caller requires an action such as login, a successful verification response with an empty action is therefore accepted instead of failing closed. The existing test covers a mismatched non-empty action but not an omitted one.
Completion criteria
When the caller supplies a non-empty expected action, require the verification response action to match it exactly, including rejecting an empty response action.
Preserve successful verification when the expected and returned actions match.
Preserve the current behavior for callers that intentionally pass an empty expected action.
Add focused tests for matching, mismatched, and omitted response actions.
Keep network, token, status-code, and disabled-verifier behavior unchanged.
Activity