Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Reading $_POST['var'] from empty $_POST sets $_POST['var'] = null #320
Unfortunatelly, this is not simply reproducible. But I face this problem in some complex code. Calling Formatter::getText($_POST['name']) on an empty $_POST caused existence of $_POST['name'] with empty (null) value. Code of Formatter::getText is below (one line method).
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
We're closing out all bugs older than 2 months. http://www.hiphop-php.com/wp/?p=575
If this is still an issue, please re-open it, and in order of goodness: