Files
open-webui-ai4me/backend/open_webui/routers
Patrick MonteithandClaude Sonnet 4.6 27c76c677a fix: clamp SCIM pagination args instead of rejecting them (#21577)
RFC 7644 §3.4.2.4 specifies that out-of-range pagination values MUST be
clamped, not rejected. The previous implementation used FastAPI Query
constraints (ge=1, le=100) which caused a 422 response for values like
startIndex=0 or count=9999 — violating the spec.

For both /Users and /Groups:
- startIndex < 1 is now treated as 1 (spec: "SHALL be interpreted as 1")
- count < 0 is now treated as 0 (spec: "SHALL be interpreted as 0")
- count > 100 is clamped to the server maximum of 100

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-19 15:08:42 -06:00
..
2026-02-11 16:24:11 -06:00
2026-02-15 17:55:59 -06:00
2026-02-13 14:08:07 -06:00
2026-02-13 15:00:47 -06:00
2026-02-16 00:41:36 -06:00
2026-01-22 03:11:33 +04:00
2026-01-09 20:44:31 +04:00
2026-02-09 13:28:14 -06:00
2026-02-11 16:24:11 -06:00
2026-02-11 16:24:11 -06:00
2026-02-11 16:24:11 -06:00
2026-02-17 01:11:56 -06:00
2026-02-13 15:00:39 -06:00
2026-02-11 15:55:23 -06:00
2026-02-13 15:00:39 -06:00
2026-02-13 15:00:39 -06:00
2026-02-13 15:00:39 -06:00
2026-02-15 17:55:59 -06:00
2026-02-18 14:58:39 -06:00
2026-02-18 13:06:50 -06:00
2026-02-13 15:00:39 -06:00
2026-02-11 16:24:11 -06:00
2026-02-16 00:43:32 -06:00
2026-02-15 23:28:47 -06:00
2026-02-11 16:24:11 -06:00