Skip to content

Commit 6f38a06

Browse files
alexr00RMacfarlane
authored and
RMacfarlane
committed
Remove isTrusted from prComments markdown (#1)
* Remove isTrusted from prComments markdown * Increase version
1 parent 2e32ba4 commit 6f38a06

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## 0.25.1
4+
5+
### Fixes
6+
7+
- Fixed vulnerability described in [CVE-2021-28470](https://msrc.microsoft.com/update-guide/vulnerability/CVE-2021-28470)
8+
39
## 0.25.0
410

511
### Changes

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"enableProposedApi": true,
1414
"preview": true,
15-
"version": "0.25.0",
15+
"version": "0.25.1",
1616
"publisher": "GitHub",
1717
"engines": {
1818
"vscode": "^1.55.0"

src/github/prComment.ts

-1
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,6 @@ export class GHPRComment implements vscode.Comment {
201201
this._rawComment = comment;
202202
this.commentId = comment.id.toString();
203203
this.body = new vscode.MarkdownString(comment.body);
204-
this.body.isTrusted = true;
205204
this.author = {
206205
name: comment.user!.login,
207206
iconPath: comment.user && comment.user.avatarUrl ? vscode.Uri.parse(comment.user.avatarUrl) : undefined,

0 commit comments

Comments
 (0)