Skip to content

Commit

Permalink
check for skipped request parameters renatomarinho#153
Browse files Browse the repository at this point in the history
  • Loading branch information
michelmelo committed Feb 13, 2024
1 parent addd888 commit 802398e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Middleware/PageSpeed.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ protected function shouldProcessPageSpeed($request, $response)
$patterns = config('laravel-page-speed.skip', []);

foreach ($patterns as $pattern) {
if ($request->is($pattern)) {
if ($request->is($pattern)||$request->has($pattern)) {
return false;
}
}
Expand Down

0 comments on commit 802398e

Please sign in to comment.