Project

General

Profile

Actions

Bug #20198

closed

Warning generating RSS at parse_url

Added by Manuel Rego Casasnovas about 15 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2009-03-17
Due date:
% Done:

0%

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

Description

I have a tt_news with the next content in a RTE field:
<p>Visto en <a href="http://calidonia.blogaliza.org&quot;&gt;http://calidonia.blogaliza.org&lt;/a&gt;:&lt;/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:&quot;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)

Actions #1

Updated by Manuel Rego Casasnovas about 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&quot;&gt;http://calidonia.blogaliza.org&lt;/a&gt;:&lt;p&gt;"Para desestresar e desconsolar, como diría o mestres..."</p>

http://pastebin.com/fbf66fda

Actions #2

Updated by Oliver Hader about 15 years ago

Does this also happen on regular content output (e.g. &type=0) or is it an XML/RSS-only problem?

Actions #3

Updated by Alexander Opitz almost 11 years ago

  • Status changed from New to Closed
  • Target version deleted (0)

No response in over one year => closed.

Actions

Also available in: Atom PDF