aboutsummaryrefslogtreecommitdiff
path: root/p/api/greader.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-03-08 19:30:24 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-03-08 19:30:24 +0100
commit7db99b838223649fe3aec973516b8d32d58ca5dd (patch)
treef0d6ce8226e13f4f4fdae4eb719fc310481823fd /p/api/greader.php
parent2d9c27549d23e20df4221ffb6a84835ba836b06a (diff)
API limit INPUT to 1MB
Diffstat (limited to 'p/api/greader.php')
-rw-r--r--p/api/greader.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/p/api/greader.php b/p/api/greader.php
index 3fa367299..62782ce1a 100644
--- a/p/api/greader.php
+++ b/p/api/greader.php
@@ -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) {