We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f1056a commit bd752e5Copy full SHA for bd752e5
src/Concerns/MakesHttpRequests.php
@@ -677,7 +677,7 @@ protected function transformHeadersToServerVars(array $headers)
677
foreach ($headers as $name => $value) {
678
$name = strtr(strtoupper($name), '-', '_');
679
680
- if (! Str::startsWith($name, $prefix) && $name != 'CONTENT_TYPE') {
+ if (! Str::startsWith($name, $prefix) && $name != 'CONTENT_TYPE' && $name != 'REMOTE_ADDR') {
681
$name = $prefix.$name;
682
}
683
0 commit comments