Skip to content

Replace vscode-cdn.net with web-ide.gitlab-static.net in CSP

Paul Slaughter requested to merge ps-replace-vscode-cdn-with-gitlab-static into master

What does this MR do and why?

Replace *.vscode-cdn.net with *.web-ide.gitlab-static.net in CSP rules and by upgrading to the latest @gitlab/web-ide package.

The usage of *.web-ide.gitlab-static.net is already implemented in the latest version of the @gitlab/web-ide package.

Screenshots or screen recordings

Before After
Screenshot_2023-07-28_at_12.44.52_AM Screenshot_2023-07-28_at_12.45.30_AM

How to set up and validate locally

  1. Open up Web IDE for any local project.
  2. Verify that Markdown Preview works.
  3. Verify that no calls are made to vscode-cdn.net

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Paul Slaughter

Merge request reports