Skip to content

fix: enforce one JSON body limit on every mutating route - #295

Merged
karagozemin merged 2 commits into
Fortexa-stellar:mainfrom
Temmy2026:fix-issue-217-json-body-limits
Oct 1, 2026
Merged

karagozemin merged 2 commits into
Fortexa-stellar:mainfrom
Temmy2026:fix-issue-217-json-body-limits

Conversation

@Temmy2026

@Temmy2026 Temmy2026 commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

Description

Enforces the 64 KiB JSON body limit across login, policy create, policy rollback, decision, and submit routes by standardizing on the readJsonBody utility. This prevents unbounded memory allocation on large payloads and standardizes the 413 Payload Too Large error response across the API.

Fixes syntax errors inherited from upstream main branch.

Closes #217

@drips-wave

drips-wave Bot commented Sep 30, 2026

Copy link
Copy Markdown

@Temmy2026 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Temmy2026

Copy link
Copy Markdown
Contributor Author

@karagozemin please review and merge

@karagozemin
karagozemin merged commit e9edfa2 into Fortexa-stellar:main Oct 1, 2026
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.

Enforce one JSON body limit on every mutating auth and policy route

2 participants