Skip to content

Commit

Permalink
Release 0.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
yokawasa committed Mar 1, 2020
1 parent 1084ccb commit 4d104af
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

All notable changes to the "jwt-debugger" extension will be documented in this file.

## 0.4.1
- Fix CSP: only allow the minimal amount of content that our extension needs to function

## 0.4.0
- Add [Content-Security-Policy](https://code.visualstudio.com/api/extension-guides/webview#content-security-policy)

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "jwt-debugger",
"displayName": "JWT Debugger",
"description": "JWT tokens decoder - VS Code version of jwt.io debugger",
"version": "0.4.0",
"version": "0.4.1",
"license": "MIT",
"publisher": "yokawasa",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function getWebviewContent(token: string, header: any, payload: any) {
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Content-Security-Policy" content="default-src http://localhost:* http://127.0.0.1:*; script-src 'unsafe-inline'; style-src 'unsafe-inline';"></head>
<meta http-equiv="Content-Security-Policy" content="default-src 'none'; style-src 'unsafe-inline';">
<title>JWT Debugger - Decoded</title>
</head>
<body>
Expand Down

0 comments on commit 4d104af

Please sign in to comment.