Skip to content

fix(spec): refuse an autocomplete query over 64 characters - #92

Merged
Adeniyikayodee merged 1 commit into
mainfrom
fix/autocomplete-length
Oct 12, 2026
Merged

Adeniyikayodee merged 1 commit into
mainfrom
fix/autocomplete-length

Conversation

@Adeniyikayodee

Copy link
Copy Markdown
Owner

A very long query never reaches NIPOST: the load balancer answers 403 with an HTML page, which the clients could only report as a malformed response (seen again on 12 October 2026 with 5,000 characters).

The four request builders now refuse text over 64 characters, counted as characters so an emoji is one. A full code with its separators is 15. Three shared cases in spec/requests.json hold every language to it.

@Adeniyikayodee
Adeniyikayodee merged commit ab103a7 into main Oct 12, 2026
18 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.

1 participant