Project

General

Profile

Actions

Bug #14511

closed

Removing of leading "http://" in external URLs can cause errors

Added by old_mseeger almost 20 years ago. Updated over 18 years ago.

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 #1

Updated by Mathias Schreiber over 18 years ago

TYPO3 Version too old.
The reported version is no longer maintained.

If this bug still persists in 4.0.1, please re-open it again and set the field "Product Version" to the corresponding version.

Actions

Also available in: Atom PDF