From b5c39a121256897c5d5c1bc75be6afbc451dd48a Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Sun, 12 Feb 2017 16:23:31 -0500 Subject: [PATCH] Fix @schrej's proxy code. --- config/trustedproxy.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/trustedproxy.php b/config/trustedproxy.php index a1fac334a..a06211497 100644 --- a/config/trustedproxy.php +++ b/config/trustedproxy.php @@ -24,7 +24,7 @@ return [ * how many proxies that client's request has * subsequently passed through. */ - 'proxies' => in_array(env('TRUSTED_PROXIES', ['*', '**'])) ? + 'proxies' => in_array(env('TRUSTED_PROXIES', []), ['*', '**']) ? env('TRUSTED_PROXIES') : explode(',', env('TRUSTED_PROXIES', null)), /*