Skip to content

Commit

Permalink
Add HTTP_SEC_CH_UA as possible header to detect crawler
Browse files Browse the repository at this point in the history
  • Loading branch information
module17 committed Sep 9, 2024
1 parent 275002e commit 886219a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Fixtures/Headers.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,7 @@ class Headers extends AbstractProvider
// Sometimes, bots (especially Google) use a genuine user agent, but fill this header in with their email address
'HTTP_FROM',
'HTTP_X_SCANNER', // Seen in use by Netsparker
// Observed that Facebook will omit identifying itself in User Agent headers but will persist HeadlessChrome in this header for mobile requests
'HTTP_SEC_CH_UA',
);
}

0 comments on commit 886219a

Please sign in to comment.