You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
chore: decide whether query parameters with illegal member names get a 400 #263
Decide whether query parameters whose names aren't legal JSON:API member names get a 400, and implement the decision.
Why
JSON:API 1.1 §Query Parameters says a server that "encounters a query parameter that does not follow the naming conventions above, or the server does not know how to process it as a query parameter from this specification, MUST return 400 Bad Request". #148 (merged in #262) rejects only reserved names: a base name that is all a-z. Parameters whose names aren't legal member names, or that name an unsupported extension, are still ignored:
?foo!=1, ?page.limit=1
?_=123: jQuery's cache-buster, so being strict here has a real cost for clients
#148's acceptance criteria scoped this out ("any key carrying a non-a-z character … still ignored"). This issue records it so it isn't a silent deferral.
Scope
Owner decision: reject illegal member names (all, or with an allow-list as fix(Middleware): reject reserved all-lowercase query parameters with 400 #262 did), or keep ignoring them and document why. Also decide how to treat extension-namespaced parameters (ext:param) for extensions the API doesn't negotiate.
Owner decision (2026-10-21): answer 400 for query parameters whose names are not legal member names and for extension-namespaced parameters of extensions the API doesn't support, with an allow-list (default ["_"], for jQuery's cache-buster), following #262's pattern.
Activity
thomasfosterau commentedon Oct 21, 2026
Owner decision (2026-10-21): answer 400 for query parameters whose names are not legal member names and for extension-namespaced parameters of extensions the API doesn't support, with an allow-list (default
["_"], for jQuery's cache-buster), following #262's pattern.Generated by Claude Code
feat(Middleware): answer 400 for illegal and extension query paramete…