Skip to content

Commit

Permalink
Revert "Fix manually set headers in TrustProxies"
Browse files Browse the repository at this point in the history
This reverts commit c39d59d.
  • Loading branch information
mzur committed Oct 4, 2023
1 parent 45ce60b commit 46d90bb
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions app/Http/Middleware/TrustProxies.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,4 @@ class TrustProxies extends Middleware
Request::HEADER_X_FORWARDED_PORT |
Request::HEADER_X_FORWARDED_PROTO |
Request::HEADER_X_FORWARDED_AWS_ELB;

/**
* Manual fix for: https://github.com/laravel/framework/pull/47844
*
* TODO: Remove after upgrading to Laravel 10.x.
*
* @return int
*/
protected function getTrustedHeaderNames()
{
return $this->headers;
}
}

0 comments on commit 46d90bb

Please sign in to comment.