Bug #20198
closedWarning generating RSS at parse_url
0%
Description
I have a tt_news with the next content in a RTE field:
<p>Visto en <a href="http://calidonia.blogaliza.org">http://calidonia.blogaliza.org</a>:</p>
<p>"Para desestresar e desconsolar, como diría o mestres..."</p>
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:<b>Warning</b>: parse_url(http://calidonia.blogaliza.org:"Para) [<a href='function.parse-url'>function.parse-url</a>]: Unable to parse URL in <b>/var/www/typo3_src-4.2.6/typo3/sysext/cms/tslib/class.tslib_content.php</b> on line <b>4530</b><br />
(issue imported from #M10712)