Skip to content

Commit 9c88453

Browse files
Farzad Hayatgithub-advanced-security[bot]
andauthored
Fix code scanning alert no. 35: Incomplete string escaping or encoding
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 7b1599a commit 9c88453

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rssfeed.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ module.exports.register = function ({ config }) {
5858
title: linkElement.text(),
5959
link: `${siteLinkWithVersion}/${linkElement
6060
.attr("href")
61-
.replace("../", "")}`,
61+
.replace(/\.\.\//g, "")}`,
6262
description: `Changelog for TinyMCE ${version}`,
6363
guid: version,
6464
pubDate: new Date(date).toUTCString(),

0 commit comments

Comments
 (0)