We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2290118 commit b5c39a1Copy full SHA for b5c39a1
1 file changed
config/trustedproxy.php
@@ -24,7 +24,7 @@
24
* how many proxies that client's request has
25
* subsequently passed through.
26
*/
27
- 'proxies' => in_array(env('TRUSTED_PROXIES', ['*', '**'])) ?
+ 'proxies' => in_array(env('TRUSTED_PROXIES', []), ['*', '**']) ?
28
env('TRUSTED_PROXIES') : explode(',', env('TRUSTED_PROXIES', null)),
29
30
/*
0 commit comments