Skip to content

Commit

Permalink
Fix duplicate header
Browse files Browse the repository at this point in the history
  • Loading branch information
مِيزَانُ الْدِّينْ عَبْدُ ذِيْ الْجَلَالِ وَ الْإِكْرَامِ committed Jul 11, 2019
1 parent bdd130b commit cc2a8ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bootstrap/wafMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
// Add headers to request
$request = $request->withAddedHeader('X-WAF-KEY', getenv('WAF_KEY'));
$request = $request->withAddedHeader('User-Agent', 'VesicaWAF/1.0 ');
$request = $request->withAddedHeader('X-LOAD-BALANCER', $request->getHeader('X-LOAD-BALANCER'));
$request = $request->withHeader('X-LOAD-BALANCER', $request->getHeader('X-LOAD-BALANCER'));

$wafNamespace = getenv('WAF_PROXY_NAMESPACE');
$logger = new Logger($wafNamespace);
Expand Down

0 comments on commit cc2a8ab

Please sign in to comment.