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

RequestBodyParserMiddleware should respect ini settings #257

Closed
clue opened this issue Nov 21, 2017 · 1 comment · Fixed by #274
Closed

RequestBodyParserMiddleware should respect ini settings #257

clue opened this issue Nov 21, 2017 · 1 comment · Fixed by #274

Comments

@clue
Copy link
Member

clue commented Nov 21, 2017

Now that we've started offering a way to parse incoming request bodies (#220 and #226), we may want to look into supporting PHP's default ini settings to control this behavior.

For example, these are the relevant default settings on my Ubuntu box:

file_uploads		On
max_file_uploads	20
upload_max_filesize	2M

max_input_nesting_level	64
max_input_vars		1000

Supersedes / closes #250

@clue
Copy link
Member Author

clue commented Nov 21, 2017

See also the respective error constants for file uploads that should be supported as part of this: http://php.net/manual/en/features.file-upload.errors.php

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant