Skip to content

Prevent GET bodies from crashing query parameter validation - #506

Merged
geemus merged 1 commit into
masterfrom
fix/get-body-query-validation
Nov 12, 2026
Merged

geemus merged 1 commit into
masterfrom
fix/get-body-query-validation

Conversation

@ydah

@ydah ydah commented Nov 12, 2026

Copy link
Copy Markdown
Member

With allow_get_body enabled, GET requests combining query parameters with a JSON array or raw body raise NoMethodError. Query value filtering calls key? on an Array or String.

Apply the same Hash guard used when merging GET body parameters.

@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 adcd63f into master Nov 12, 2026
18 checks passed
@geemus
geemus deleted the fix/get-body-query-validation branch November 12, 2026 15:25
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