Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(pages): drop govtech-sgds via jsdelivr #1294

Merged
merged 1 commit into from
Mar 11, 2021

Conversation

LoneRifle
Copy link
Contributor

Problem

The transition and 404 pages currently have a dependency on
govtech-sgds, delivered via cdn.jsdelivr.com. While convenient, this
needs an entry on our CSP to allow jsdelivr, which malicious actors
might take advantage of.

Solution

  • Replace govtech-sgds with CSS specific to the masthead, and the
    Lion Head Symbol introduced earlier
  • Remove jsdelivr entries in CSP

The transition and 404 pages currently have a dependency on
govtech-sgds, delivered via cdn.jsdelivr.com. While convenient, this
needs an entry on our CSP to allow jsdelivr, which malicious actors
might take advantage of.

- Replace govtech-sgds with CSS specific to the masthead, and the
  Lion Head Symbol introduced earlier
- Remove jsdelivr entries in CSP
@LoneRifle LoneRifle requested a review from yong-jie March 11, 2021 07:22
Copy link
Member

@yong-jie yong-jie left a comment

Choose a reason for hiding this comment

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

good idea, lgtm

@LoneRifle LoneRifle merged commit 82233eb into develop Mar 11, 2021
@LoneRifle LoneRifle deleted the refactor/pages/lion-head branch March 11, 2021 07:52
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