Skip to content

Commit a2f5454

Browse files
committed
#24 - Remove POST size checking
1 parent dd265a1 commit a2f5454

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/TgUtils/Request.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,10 +235,10 @@ public function getPostParams() {
235235
if ($len) {
236236
$len = intval($len);
237237
// Check that we have a valid content-length
238-
if (($len>0) && ($len<10000)) {
238+
if ($len>0) {
239239
$this->postParams = $_POST;
240240
} else {
241-
Log::registerMessage(new Error('POST content too big'));
241+
Log::register(new Error('POST content invalid'));
242242
}
243243
}
244244
}

0 commit comments

Comments
 (0)