diff options
| author | 2016-03-08 19:30:24 +0100 | |
|---|---|---|
| committer | 2016-03-08 19:30:24 +0100 | |
| commit | 7db99b838223649fe3aec973516b8d32d58ca5dd (patch) | |
| tree | f0d6ce8226e13f4f4fdae4eb719fc310481823fd /p | |
| parent | 2d9c27549d23e20df4221ffb6a84835ba836b06a (diff) | |
API limit INPUT to 1MB
Diffstat (limited to 'p')
| -rw-r--r-- | p/api/greader.php | 2 |
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) { |
