From 4633c209a61ce6e6a907e7f6629922392f2f496b Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 19 May 2019 14:20:37 +0200 Subject: [PATCH] Fix bug. now post data overwrites uri parameter. before it was the other way around. --- Message/Http/Request.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Message/Http/Request.php b/Message/Http/Request.php index 01f586df9..581f3d191 100644 --- a/Message/Http/Request.php +++ b/Message/Http/Request.php @@ -140,7 +140,7 @@ final class Request extends RequestAbstract throw new \Exception('Is not valid json ' . $input); } - $this->data += $json; + $this->data = $json + $this->data; } elseif (\stripos($_SERVER['CONTENT_TYPE'], 'application/x-www-form-urlencoded') !== false) { $content = \file_get_contents('php://input');