#22092Automatic linking ignores/replaces protocol
Description
When you enter a URL in an RTE field it will be linked to its address automatically. However, the created links src attribute always uses HTTP as protocol, even if the URL uses FTP or something else.
Steps to reproduce:
1. Create a new content element with a RTE field.
2. Enter a full URL, e.g., http://www.example.com. Press Enter. The URL will be linked automatically with the src attribute of the a tag being filled with itself. This is correct.
3. Now enter another URL using a different protocol, e.g., ftp://ftp.example.com. Press Enter. The URL will be linked automatically with the src attribute of the a tag wrongly saying http://ftp.example.com.
This is really problematic for editors since they have to double-check everything.
(issue imported from #M13480)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.