diff options
| author | 2016-03-08 19:36:39 +0100 | |
|---|---|---|
| committer | 2016-03-08 19:36:39 +0100 | |
| commit | 90117b039743a2c9c7f715d4badd94ea41160562 (patch) | |
| tree | 7d55e4daa88d602862f542092f5872e95bf99558 /p/api/greader.php | |
| parent | 2d9c27549d23e20df4221ffb6a84835ba836b06a (diff) | |
| parent | c9ebbe9657b9b202817b9e0b387a584340e4e20b (diff) | |
Merge pull request #1118 from Alkarex/API-input-sanitize
API limit INPUT to 1MB
Diffstat (limited to 'p/api/greader.php')
| -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) { |
