Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.9.5
-
Fix Version/s: 1.9.6
-
Component/s: Zend_Feed_Reader
-
Labels:None
Description
Some URIs returned by Zend_Feed_Reader::findFeedLinks() come with linebreaks and spaces.
The following code:
var_dump(Zend_Feed_Reader::findFeedLinks('http://infopod.com.br'));
Returns:
object(stdClass)[8] public 'rss' => string ' http://feeds.feedburner.com/jonnyken/infoblog' (length=47)
Expected:
object(stdClass)[8] public 'rss' => string 'http://feeds.feedburner.com/jonnyken/infoblog' (length=47)
Workaround and possible fix:
trim() out the URI
Fixed in r19028 - thanks for reporting!