#14511Removing of leading "http://" in external URLs can cause errors
Description
If I use the link browser outside the RTE (mode=wizard) and I insert an external URL, the leading “http://” is removed.
This is a problem, if I choose an url within the same network (for example to the adress “intranet”) without “www.” or domain suffix.
If I choose the url “http://intranet/test.html” and submit the button “set link”, the leading “http://” is removed. In the frontend, the link looks like “http://TYPO3ROOT/intranet/test.html”.
A solution is to comment the line 845 in the link_browser.php.
// if (setValue.substr(0,7)==“http://”) setValue = setValue.substr(7)
URLs like “intranet” work fine now and other URLs like www.something.com works further on.
(issue imported from #M712)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.