P3-05: /precedents endpoint returns ALL precedents unbounded — no pagination #23
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Severity: P3 (Low)
File:
decider/server.pyline 189Problem
prec.search("")returns ALL precedents with no limit. With hundreds of precedents, this payload grows unbounded.Fix
Add query parameters for pagination:
?limit=20&offset=0(or?page=1&per_page=20)