Skip to content

Remove grecaptcha_response max length - #561

Merged
DanJezeph15 merged 1 commit into
masterfrom
remove-grecaptcha-max-length
Aug 26, 2026
Merged

DanJezeph15 merged 1 commit into
masterfrom
remove-grecaptcha-max-length

Conversation

@tejas7777

Copy link
Copy Markdown
Contributor

Since ~25 Aug 14:00 UTC every socket enquiry POST returns 400: Google reCAPTCHA tokens now exceed the 2048-char cap on EnquiryModal.grecaptcha_response (observed token: 2489 chars). Zero enquiries have reached TC2 since then.

Google documents no maximum token length and the cap has been outgrown twice before (#556 raised it 1000 -> 2048). Remove max_length, keep min_length.

Test: enquiry with a 4000-char token is accepted and forwarded to the grecaptcha check.

Google reCAPTCHA tokens now exceed 2048 chars, so every enquiry POST
was rejected with a 400 before validation. Google documents no maximum
token length; the cap has been outgrown twice before (#556 raised it
1000 -> 2048). Remove it, keep min_length.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@DanJezeph15
DanJezeph15 merged commit 630c534 into master Aug 26, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants