You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like the code only detects Cloudfront if the user-agent is Amazon Cloudfront. It should instead just detect the 2-3 device headers it uses and just use them if they exist.
We've been using Cloudfront device detection for a while, and our user-agents are whatever the user's browser is, not the value above. The change requested would accommodate a larger audience and configuration setups.
The text was updated successfully, but these errors were encountered:
hecktarzuli
changed the title
Cloudflare detection shouldn't rely on user-agent
Cloudfront detection shouldn't rely on user-agent
Apr 24, 2023
It looks like the code only detects Cloudfront if the user-agent is
Amazon Cloudfront
. It should instead just detect the 2-3 device headers it uses and just use them if they exist.We've been using Cloudfront device detection for a while, and our user-agents are whatever the user's browser is, not the value above. The change requested would accommodate a larger audience and configuration setups.
The text was updated successfully, but these errors were encountered: