Skip to content
This repository was archived by the owner on Apr 5, 2020. It is now read-only.

Commit 1a0c720

Browse files
committed
Fix POST data processsing in xp-forge/web adapter
1 parent 4164f78 commit 1a0c720

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

ChangeLog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ Scriptlets for the XP Framework ChangeLog
33

44
## ?.?.? / ????-??-??
55

6+
## 9.1.1 / 2017-11-13
7+
8+
* Fixed HTTP POST data processing in xp-forge/web adapter - @thekid
9+
610
## 9.1.0 / 2017-11-12
711

812
* Merged PR #21: Add xp-forge/web adapter - @thekid

src/main/php/scriptlet/Run.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function handle($request, $response) {
4444
$req->setParams($request->params());
4545
$req->setHeaders(array_merge($request->headers(), $request->values()));
4646
$req->readData= function() use($request) {
47-
return $request->read(-1);
47+
return $request->stream();
4848
};
4949

5050
// Proxy response

0 commit comments

Comments
 (0)