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)
Updated by Manuel Rego Casasnovas over 15 years ago
Really the content of my field is something like that (I'm trying to write HTML here):
<p>Visto en <a href="http://calidonia.blogaliza.org">http://calidonia.blogaliza.org</a>:<p>"Para desestresar e desconsolar, como diría o mestres..."</p>
Updated by Oliver Hader over 15 years ago
Does this also happen on regular content output (e.g. &type=0) or is it an XML/RSS-only problem?
Updated by Alexander Opitz over 11 years ago
- Status changed from New to Closed
- Target version deleted (
0)
No response in over one year => closed.