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

Add content security policy to webview and remove image load error #342

Merged
merged 2 commits into from
Sep 24, 2019

Conversation

cfehse
Copy link
Contributor

@cfehse cfehse commented Sep 24, 2019

This pull request:

Fixes #341 .

Introduces the following change(s):

  • Added content security policy to html/index.html .
  • Changed handling of image URL retrieval in calva/repl-window.ts.
  • Added an empty SVG image in html/images.

I have:

  • Read How to Contribute.
  • Made sure I am directing this pull request at the dev branch. (Or have specific reasons to target some other branch.)
  • Made sure I am changed the default PR base branch, so that it is not master. (Sorry for the nagging.)
  • Referenced the issue I am fixing/addressing.
    • If I am fixing the issue, I have used GitHub's fixes/closes syntax
    • If I am fixing just part of the issue, I have just referenced it w/o any of the "fixes” keywords.
  • Created the issue I am fixing/addressing, if it was not present.
  • Updated the [Unrleased] entry in CHANGELOG.md, linking the issue(s) that the PR is addressing.

Ping: @PEZ, @kstehn

cf and others added 2 commits September 24, 2019 07:45
Added content security policy. Changed handling of image URL retrieval.
@PEZ PEZ merged commit 3a06dcd into BetterThanTomorrow:dev Sep 24, 2019
@PEZ
Copy link
Collaborator

PEZ commented Sep 24, 2019

You are on fire, sir!

cfehse pushed a commit to cfehse/calva that referenced this pull request Sep 24, 2019
Was introduced bei merge of PR BetterThanTomorrow#342. No idea why code was building on feature branch.
@cfehse cfehse deleted the fix/issue-341 branch September 25, 2019 16:31
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