A free open source IT asset/license management system
Fixes explode for trusted proxy
snipe8ba19aa8554a
diff --git a/config/trustedproxy.php b/config/trustedproxy.phpindex d78ce5cdeb..0d056715ff 100644--- a/config/trustedproxy.php+++ b/config/trustedproxy.php@@ -24,19 +24,20 @@ return [* how many proxies that client's request has* subsequently passed through.*/- 'proxies' => env('APP_TRUSTED_PROXIES') !== null ? explode(env('APP_TRUSTED_PROXIES'), ',') : '*',+ 'proxies' => env('APP_TRUSTED_PROXIES') !== null ?+ explode(',', env('APP_TRUSTED_PROXIES')) : '*',/** Or, to trust all proxies that connect* directly to your server, uncomment this:*/- # 'proxies' => '*',+ // 'proxies' => '*',/** Or, to trust ALL proxies, including those that- * are in a chain of fowarding, uncomment this:+ * are in a chain of forwarding, uncomment this:*/- # 'proxies' => '**',+ // 'proxies' => '**',/** Default Header Names