Skip to content

Bug 2032230 - Cookie consent needs to be updated to look for the country code that Fastly is providing which is different then before#2602

Merged
dklawren merged 1 commit intomozilla-bteam:masterfrom
dklawren:2032230
Apr 17, 2026

Conversation

@dklawren
Copy link
Copy Markdown
Collaborator

No description provided.

…try code that Fastly is providing which is different then before
Copilot AI review requested due to automatic review settings April 16, 2026 22:40
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates Bugzilla’s cookie-consent geo detection to recognize Fastly’s new country-code header, preserving compatibility with the previous header.

Changes:

  • Read X-Sigsci-Client-Geo-Country-Code for the client country code.
  • Fall back to the legacy X-Client-Region header when the new header is absent.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@dklawren dklawren requested a review from cgsheeh April 16, 2026 22:41
Comment thread Bugzilla/CGI.pm
@dklawren dklawren merged commit 4f48c50 into mozilla-bteam:master Apr 17, 2026
18 of 19 checks passed
@dklawren dklawren deleted the 2032230 branch April 17, 2026 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants