Files
pixa/internal/handlers
sneak 881446739e
check / check (push) Successful in 3m44s
Refuse a q outside 1-100 on /v1/image/ with 400 (closes #134)
A q that was not a number or was outside 1-100 was dropped and 85 used,
so q=500 was served and verified against a signature made for 85. It is
now a 400 naming q and the value, read with the generator's quality
check; only a q missing from the URL is 85.

The route also refuses with 400 a query string that cannot be decoded
(r.URL.Query() drops such a pair, so q=80% arrived as no q) and any
parameter given more than once, which was read from its first value only
(q=80&q=500 was served at 80).

Model: opus-5-5
2026-09-28 15:20:43 +00:00
..