Skip to content

fix CSP - #3183

Merged
JacobCoffee merged 1 commit into
mainfrom
csp-report-noise
Oct 9, 2026
Merged

fix CSP#3183
JacobCoffee merged 1 commit into
mainfrom
csp-report-noise

Conversation

@JacobCoffee

Copy link
Copy Markdown
Member

drop jQuery prefetch hints, allow console.python.org frames

The prefetch <link>s for jQuery/jQuery UI are governed by default-src
('self' only), producing ~75k report-only violations/day in Sentry
(PYDOTORG-PROD-1NX). Both scripts already load synchronously at the end
of base.html, so the hints only caused a duplicate fetch.

The homepage interactive shell iframes https://console.python.org, which
fell back to default-src with no frame-src set (PYDOTORG-PROD-1PS).
Copilot AI balanced review requested due to automatic review settings October 9, 2026 15:06

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@JacobCoffee
JacobCoffee enabled auto-merge October 9, 2026 15:06
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-09T15:08:19.501567Z 2a43caa PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@JacobCoffee
JacobCoffee added this pull request to the merge queue Oct 9, 2026
Merged via the queue into main with commit 7268d01 Oct 9, 2026
12 checks passed
@JacobCoffee
JacobCoffee deleted the csp-report-noise branch October 9, 2026 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants