Actions
Bug #14511
closedRemoving of leading "http://" in external URLs can cause errors
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend API
Target version:
-
Start date:
2005-01-25
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
3.7.0
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
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)
Actions