We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd265a1 commit a2f5454Copy full SHA for a2f5454
1 file changed
src/TgUtils/Request.php
@@ -235,10 +235,10 @@ public function getPostParams() {
235
if ($len) {
236
$len = intval($len);
237
// Check that we have a valid content-length
238
- if (($len>0) && ($len<10000)) {
+ if ($len>0) {
239
$this->postParams = $_POST;
240
} else {
241
- Log::registerMessage(new Error('POST content too big'));
+ Log::register(new Error('POST content invalid'));
242
}
243
244
0 commit comments