Project

General

Profile

Actions

Feature #90336

closed

CKeditor autolinking: Insert https instead of http

Added by Florian Seirer almost 5 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
2020-02-06
Due date:
% Done:

100%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

If I type "www.test.com" into the editor, a link is created automatically:

<a href="http://www.test.com">www.test.com</a>

That's fine, but it's 2020 and https is more or less the standard protocol.
CKeditor should honor that by writing https in the href attribute.


Files

https-autolinking.diff (847 Bytes) https-autolinking.diff Florian Seirer, 2020-02-10 11:23
Actions #1

Updated by Josef Glatz almost 5 years ago

  • Status changed from New to Accepted
Actions #2

Updated by Florian Seirer almost 5 years ago

See line 111 in /typo3/sysext/rte_ckeditor/Resources/Public/JavaScript/Plugins/autolinking.js:

href = /^(?:https?:\/\/)/ig.test(href) ? href : 'http://' + href;

Actions #3

Updated by Florian Seirer almost 5 years ago

  • File https-autolinking.diff added
Actions #4

Updated by Florian Seirer almost 5 years ago

  • File deleted (https-autolinking.diff)
Actions #6

Updated by Gerrit Code Review over 3 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/69923

Actions #7

Updated by Gerrit Code Review over 3 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/69923

Actions #8

Updated by Benni Mack over 3 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #9

Updated by Benni Mack about 3 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF