Issue Bug Closed

#16537tslib_content typolink does not check if url is vaild scheme

Ingo Schmitt 09/07/06, 13:49 updated 09/05/13, 09:08

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)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.