Project

General

Profile

Actions

Bug #16537

closed

tslib_content typolink does not check if url is vaild scheme

Added by Ingo Schmitt about 18 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2006-09-07
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.0
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

In line 5085 in tslib_content $link_param parsed by the php method parse_url. If the parameter is no valid url, an php_warning is given.
Possible solution: add an @ bevore (bad)
Possible solution: Check if $link_param is a valid url

PHP Warning:  parse_url(http:///www.houseandmore.de/) [<a href='function.parse-url'>function.parse-url</a>]: Unable to parse url in ....heimwerker/typo3_src-4.0/typo3/sysext/cms/tslib/class.tslib_content.php on line 5085

(issue imported from #M4173)

Actions

Also available in: Atom PDF