Issue Bug Closed

#20198Warning generating RSS at parse_url

Manuel Rego Casasnovas 03/17/09, 19:41 updated 05/08/13, 13:53

Description

I have a tt_news with the next content in a RTE field:

Visto en http://calidonia.blogaliza.org:


“Para desestresar e desconsolar, como diría o mestres…”

And I’ve the next warning when I render the RSS the first time or if I do a fresh reload (Ctrl+Shit+R in Firefox).

The problem is in the function http_makelinks at file typo3/sysext/cms/tslib/class.tslib_content.php (line 4530):
$linkParts=parse_url(‘http://’.$parts0);

If I make a var_dump of $parts0 I get:
string(34) “calidonia.blogaliza.org:“Para”

I don’t understand why it’s mixing the URL and the next paragraph.

XML Parsing Error: junk after document element
Location: https://xxxxxxxxxx.com/index.php?id=22&type=100
Line Number 2, Column 1:Warning: parse_url(http://calidonia.blogaliza.org:"Para) [function.parse-url]: Unable to parse URL in /var/www/typo3_src-4.2.6/typo3/sysext/cms/tslib/class.tslib_content.php on line 4530

(issue imported from #M10712)

Reviews 0

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