From 10a07b5bc85f3492736d8928006fc29ea4fcbda7 Mon Sep 17 00:00:00 2001 From: moonrager13 Date: Sun, 5 Jul 2026 20:18:05 -0500 Subject: [PATCH 1/2] Potential fix for code scanning alert no. 6: Incomplete string escaping or encoding Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- scripts/sync-release-note.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/sync-release-note.js b/scripts/sync-release-note.js index 8e8ec55b8..22402da0d 100644 --- a/scripts/sync-release-note.js +++ b/scripts/sync-release-note.js @@ -22,7 +22,7 @@ function slugify(s) { } function escapeFrontmatter(s) { - return String(s).replace(/"/g, '\\"'); + return String(s).replace(/\\/g, "\\\\").replace(/"/g, '\\"'); } async function fetchReleaseByTag(repo, tag, token) { From fe2df6627208d967b7699f9deb9f359896abaa05 Mon Sep 17 00:00:00 2001 From: moonrager13 Date: Mon, 6 Jul 2026 12:37:50 -0500 Subject: [PATCH 2/2] Create devcontainer.json --- .devcontainer/devcontainer.json | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 .devcontainer/devcontainer.json diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 000000000..39bbd2681 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,4 @@ +{ + "image": "mcr.microsoft.com/devcontainers/universal:2", + "features": {} +}