Skip to content

Commit 7932e78

Browse files
committed
bridge fix
1 parent 20f46e5 commit 7932e78

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Bridges/HttpKernel.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,8 @@ protected function mapRequest(ReactRequest $reactRequest)
147147
$post = $reactRequest->getPost();
148148

149149
$class = $this->bootstrap->requestClass();
150-
150+
151+
SymfonyRequest::setTrustedProxies(array($_SERVER['REMOTE_ADDR']));
151152
$syRequest = new $class($query, $post, $attributes = [], $cookies, $files, $_SERVER, $reactRequest->getBody());
152153

153154
$syRequest->setMethod($method);

0 commit comments

Comments
 (0)