diff --git a/ChangeLog.md b/ChangeLog.md index 77ccb6cd..edf93159 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -3,6 +3,10 @@ Scriptlets for the XP Framework ChangeLog ## ?.?.? / ????-??-?? +## 9.1.1 / 2017-11-13 + +* Fixed HTTP POST data processing in xp-forge/web adapter - @thekid + ## 9.1.0 / 2017-11-12 * Merged PR #21: Add xp-forge/web adapter - @thekid diff --git a/src/main/php/scriptlet/Run.class.php b/src/main/php/scriptlet/Run.class.php index d0764356..ec12d346 100755 --- a/src/main/php/scriptlet/Run.class.php +++ b/src/main/php/scriptlet/Run.class.php @@ -44,7 +44,7 @@ public function handle($request, $response) { $req->setParams($request->params()); $req->setHeaders(array_merge($request->headers(), $request->values())); $req->readData= function() use($request) { - return $request->read(-1); + return $request->stream(); }; // Proxy response