Skip to content

Commit

Permalink
Fix trustedproxy deprecated default null value in explode function
Browse files Browse the repository at this point in the history
  • Loading branch information
jameskitt616 authored and IceToast committed Jun 23, 2024
1 parent 1619d81 commit e52ab1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/trustedproxy.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* subsequently passed through.
*/
'proxies' => in_array(env('TRUSTED_PROXIES', []), ['*', '**']) ?
env('TRUSTED_PROXIES') : explode(',', env('TRUSTED_PROXIES', null)),
env('TRUSTED_PROXIES') : explode(',', env('TRUSTED_PROXIES', '')),

/*
* Or, to trust all proxies that connect
Expand Down

0 comments on commit e52ab1f

Please sign in to comment.