parser_common_syndication doesn't follow redirects (302 etc)

Luigi.Bai - April 30, 2008 - 19:13
Project:FeedAPI
Version:5.x-1.2
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:won't fix
Description

The most common case is a blog/feed converts to using FeedBurner etc. and leaves its original URL to redirect. When that happens, the parser can't keep up.

It currently checks for 304 as a return code; should also check for other 3xx return codes.

#1

Aron Novak - May 3, 2008 - 14:22
Status:active» active (needs more info)

Have you checked a real feed? Please provide an example!

FeedAPI, Common Syndication Parser does follow the redirects because drupal_http_request is called w/ $retry = 3!
http://api.drupal.org/api/function/drupal_http_request

So this function takes care of 301, 302 and 307 status codes. I trust drupal core that it handles redirect well. :)

#2

mustafau - July 18, 2008 - 12:15
Status:active (needs more info)» won't fix
 
 

Drupal is a registered trademark of Dries Buytaert.