Skip to content

Commit 8bb42dc

Browse files
committed
changed auto-format default to false, to prevent possible remote execution vulnerability
1 parent cb04cee commit 8bb42dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

classes/request/driver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public static function forge($resource, array $options = array(), $method = null
6262
/**
6363
* @var bool whether to attempt auto-formatting the response
6464
*/
65-
protected $auto_format = true;
65+
protected $auto_format = false;
6666

6767
/**
6868
* @var string $method request method

0 commit comments

Comments
 (0)