diff options
author | Frankie B <git@diskfloppy.me> | 2023-07-29 18:03:13 +0100 |
---|---|---|
committer | Frankie B <frankieraybrown@gmail.com> | 2023-07-29 18:10:50 +0100 |
commit | 8c0a2a6383a447bcfe988f8fa46f3923e30bff17 (patch) | |
tree | ab7483cda3af501fc0dfec175dda4983a7b99aad /app/Http/Middleware/TrustProxies.php | |
parent | e15ea940b3823f8865d63d34e464328be6b25c34 (diff) |
Merge fixes into v5.5 branch (#12)
---------
Co-authored-by: codacy-production[bot] <61871480+codacy-production[bot]@users.noreply.github.com>
Diffstat (limited to 'app/Http/Middleware/TrustProxies.php')
-rw-r--r-- | app/Http/Middleware/TrustProxies.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/Http/Middleware/TrustProxies.php b/app/Http/Middleware/TrustProxies.php index 3391630..69f4e53 100644 --- a/app/Http/Middleware/TrustProxies.php +++ b/app/Http/Middleware/TrustProxies.php @@ -19,10 +19,11 @@ class TrustProxies extends Middleware * * @var int */ - protected $headers = + protected $headers =( Request::HEADER_X_FORWARDED_FOR | Request::HEADER_X_FORWARDED_HOST | Request::HEADER_X_FORWARDED_PORT | Request::HEADER_X_FORWARDED_PROTO | - Request::HEADER_X_FORWARDED_AWS_ELB; + Request::HEADER_X_FORWARDED_AWS_ELB + ); } |