Skip to content

fix(viewer): externalize repos page inline script to comply with CSP - #758

Open
wu21-web wants to merge 3 commits into
alibaba:mainfrom
wu21-web:qwq
Open

fix(viewer): externalize repos page inline script to comply with CSP#758
wu21-web wants to merge 3 commits into
alibaba:mainfrom
wu21-web:qwq

Conversation

@wu21-web

@wu21-web wu21-web commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Description

The repos page search/filter feature was broken because its inline <script> block was blocked by the strict Content-Security-Policy (script-src 'self') introduced in #735. The PR fixes it

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Refactoring (no functional changes)
  • Documentation update
  • CI / Build / Tooling

How Has This Been Tested?

  • make test passes locally
  • Manual testing (describe below)

Checklist

  • My code follows the project's coding style (go fmt, go vet)
  • I have performed a self-review of my code
  • I have added tests that prove my fix is effective or my feature works
  • New and existing unit tests pass locally with my changes
  • I have updated the documentation accordingly (if applicable)
  • I have signed the CLA

Related Issues

closes #757

@github-actions

github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

OpenCodeReview: Review complete: 0 finding(s) across 3 selected item(s).

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.

fix(viewer): externalize inline search script blocked by CSP

1 participant