Files
pixa/internal
sneak 98d23ad32e
check / check (push) Successful in 3m16s
Refuse a q outside 1-100 on /v1/image/ with 400 (closes #134)
The route ignored a q that was not a number or was outside 1-100 and
used 85, so q=banana or q=500 was served as if q were absent and
verified against a signature made for 85.

It now reads q with the check the URL generator uses for its quality
field (parseFormInt with minQuality and maxQuality, default
encurl.DefaultQuality) and answers anything else with a 400 naming q
and the value. That check takes an empty value as missing, so an empty
q in the URL is refused before it. Only a q missing from the URL is
85. README.md states the range.

Model: opus-5-5
2026-09-28 14:44:25 +00:00
..