From 6e2a08029b44f084875691c4cc21d204efae0194 Mon Sep 17 00:00:00 2001 From: Florentina <36894034+florentinap@users.noreply.github.com> Date: Wed, 6 Aug 2025 09:39:34 +0300 Subject: [PATCH 1/4] Update inline-tool-link.ts Use https protocol instead of http. --- src/components/inline-tools/inline-tool-link.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/inline-tools/inline-tool-link.ts b/src/components/inline-tools/inline-tool-link.ts index 9b413a564..8f1fa0c7e 100644 --- a/src/components/inline-tools/inline-tool-link.ts +++ b/src/components/inline-tools/inline-tool-link.ts @@ -351,7 +351,7 @@ export default class LinkInlineTool implements InlineTool { } /** - * Add 'http' protocol to the links like 'vc.ru', 'google.com' + * Add 'https' protocol to the links like 'vc.ru', 'google.com' * * @param {string} link - string to process */ @@ -374,7 +374,7 @@ export default class LinkInlineTool implements InlineTool { isProtocolRelative = /^\/\/[^/\s]/.test(link); if (!isInternal && !isAnchor && !isProtocolRelative) { - link = 'http://' + link; + link = 'https://' + link; } return link; From 8537e8affa73e278fa3d87d85dee8b90023e1ae7 Mon Sep 17 00:00:00 2001 From: Florentina Petcu Date: Sun, 7 Sep 2025 19:32:54 +0300 Subject: [PATCH 2/4] update changelog --- docs/CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 5770a1e74..8b5f047c6 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +### 2.31.1 +- `Improvement` - Update link protocol + ### 2.31.0 - `New` - Inline tools (those with `isReadOnlySupported` specified) can now be used in read-only mode From 58e9a31f1573adb83f4392201d7e1494b2d6b203 Mon Sep 17 00:00:00 2001 From: Florentina <36894034+florentinap@users.noreply.github.com> Date: Mon, 8 Sep 2025 06:35:49 +0300 Subject: [PATCH 3/4] Update CHANGELOG.md --- docs/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 91240732a..f80dd4774 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,7 +1,7 @@ # Changelog ### 2.31.1 -- `Improvement` - Update link protocol +- `Improvement` - Updated link parser to use the secure `https` potocol instead of `http`, ensuring safer and more reliable connections ### 2.31.0 From 3b682f7412ecb664cc1e0df5cc04aa95c91ef4db Mon Sep 17 00:00:00 2001 From: Florentina <36894034+florentinap@users.noreply.github.com> Date: Mon, 8 Sep 2025 16:24:09 +0300 Subject: [PATCH 4/4] Update docs/CHANGELOG.md Co-authored-by: Peter --- docs/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index f80dd4774..6f29affe2 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,7 +1,7 @@ # Changelog ### 2.31.1 -- `Improvement` - Updated link parser to use the secure `https` potocol instead of `http`, ensuring safer and more reliable connections +- `Improvement` - Default protocol for inline links changed to "https" ### 2.31.0