Skip to content

Refresh the static browser user agent to Chrome 154 - #1256

Merged
mikelittle merged 1 commit into
humanmade:masterfrom
altis-assistant:fix/refresh-static-user-agent
Oct 7, 2026
Merged

mikelittle merged 1 commit into
humanmade:masterfrom
altis-assistant:fix/refresh-static-user-agent

Conversation

@altis-assistant

Copy link
Copy Markdown
Contributor

Summary

  • Replace the static Chrome 46 / OS X 10.10 fallback with Chrome 154 / macOS 10.15.7, using Chrome's reduced user-agent format.
  • Keep existing behaviour: only replace a missing user agent or Amazon CloudFront; preserve supplied user agents.

Chrome 154 is the macOS stable release active on 2026-10-06 according to Google's Version History API. The previous string dates to 2015 and can mislead server-side browser checks.

This changes the PHP-side fallback only. The edge WAF evaluates the original viewer header before this substitution, so the fallback itself does not trigger the WAF old-browser rule. No infrastructure/cache-key/forwarding changes.

Validation

  • Checked both strings against the shared old-browser regex patterns: Chrome 46 matches; Chrome 154 does not.
  • git diff --check passes.
  • PHP/runtime tests not run locally (PHP is not installed); module CI should validate the change.

Please backport to supported release branches after review, then release through the normal module workflow. Not deployed yet.

@mikelittle
mikelittle merged commit e94d3f8 into humanmade:master Oct 7, 2026
4 of 6 checks passed
@github-actions

github-actions Bot commented Oct 7, 2026

Copy link
Copy Markdown

Successfully created backport PR for v25-branch:

@github-actions

github-actions Bot commented Oct 7, 2026

Copy link
Copy Markdown

Successfully created backport PR for v26-branch:

@github-actions

github-actions Bot commented Oct 7, 2026

Copy link
Copy Markdown

Successfully created backport PR for v27-branch:

@github-actions

github-actions Bot commented Oct 7, 2026

Copy link
Copy Markdown

Successfully created backport PR for v28-branch:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants