Skip to content

Reject matrix arrays and objects with invalid prefixes - #508

Merged
geemus merged 1 commit into
masterfrom
fix/invalid-matrix-parameters
Nov 17, 2026
Merged

geemus merged 1 commit into
masterfrom
fix/invalid-matrix-parameters

Conversation

@ydah

@ydah ydah commented Nov 17, 2026

Copy link
Copy Markdown
Member

With matrix serialization and explode: false, values missing the expected parameter prefix become empty arrays or objects and can pass validation.

Raise a deserialization error for missing or incorrect prefixes so the middleware returns 400. Accept ;id and ;id= as empty values.

@geemus geemus left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thanks!

@geemus
geemus merged commit ac365cc into master Nov 17, 2026
9 checks passed
@geemus
geemus deleted the fix/invalid-matrix-parameters branch November 17, 2026 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants