CodeIgniter4
CodeIgniter4 copied to clipboard
Large HTTP Input Crashes
PHP Version
7.4
CodeIgniter4 Version
4.1
CodeIgniter4 Installation Method
Composer (using codeigniter4/appstarter
)
Which operating systems have you tested for this bug?
Linux
Which server did you use?
apache
Database
No response
What happened?
When php://input
exceeds the PHP memory limit it crashes the framework.
See https://github.com/codeigniter4/CodeIgniter4/pull/4748#issuecomment-859526582 for resolution
Steps to Reproduce
https://github.com/codeigniter4/CodeIgniter4/pull/4748
Expected Output
Need to be able to handle inputs that exceed memory limit so a developer can manipulate them (via streams probably).
Anything else?
No response