mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-05-14 02:03:55 -04:00
API limit INPUT to 1MB
This commit is contained in:
@@ -23,7 +23,7 @@ Server-side API compatible with Google Reader API layer 2
|
||||
require('../../constants.php');
|
||||
require(LIB_PATH . '/lib_rss.php'); //Includes class autoloader
|
||||
|
||||
$ORIGINAL_INPUT = file_get_contents('php://input');
|
||||
$ORIGINAL_INPUT = file_get_contents('php://input', false, null, -1, 1048576);
|
||||
|
||||
if (PHP_INT_SIZE < 8) { //32-bit
|
||||
function dec2hex($dec) {
|
||||
|
||||
Reference in New Issue
Block a user