Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(max-files): encode value as string, not raw int bytes #50

Merged
merged 1 commit into from
Jan 30, 2023

Conversation

andrewazores
Copy link
Member

Fixes #49

Previously the form value for max-files was encoded as the actual 32-bit bytes of the int field. It should actually be encoded as the bytes for a UTF-8 string that can be parsed into the int value. Otherwise, the server fails to process this field and the request is rejected.

@github-actions
Copy link

Hi @andrewazores! Add at least one of the required labels to this PR

Required labels are : chore,ci,cleanup,docs,feat,fix,perf,refactor,style,test

@andrewazores andrewazores merged commit 82f9df8 into main Jan 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[Bug] max-files config results in HTTP 400 from server
2 participants