6.0.0-beta1
7/3/25

[#9898] Syndicated Feed doesn't handle redirection
Summary Syndicated Feed doesn't handle redirection
Queue Horde Base
Queue Version Git master
Type Bug
State Resolved
Priority 1. Low
Owners chuck (at) horde (dot) org
Requester rsalmon (at) mbpgroup (dot) com
Created 04/13/2011 (5195 days ago)
Due
Updated 05/29/2011 (5149 days ago)
Assigned 04/14/2011 (5194 days ago)
Resolved 05/29/2011 (5149 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
05/29/2011 03:07:21 AM Chuck Hagenbuch State ⇒ Resolved
 
05/29/2011 03:06:42 AM Git Commit Comment #5 Reply to this comment
Changes have been made in Git for this ticket:

Bug #9898: Consistently implement configurable following of redirects 
in Horde_Http_Request child classes

  5 files changed, 51 insertions(+), 77 deletions(-)
http://git.horde.org/horde-git/-/commit/aa7fd3b2d486512b27e725dc3f809dedf3ad70b9
04/16/2011 12:55:38 AM Chuck Hagenbuch Deleted Original Message
 
04/16/2011 12:55:34 AM Chuck Hagenbuch Deleted Original Message
 
04/16/2011 12:55:22 AM Chuck Hagenbuch Comment #4 Reply to this comment
peclhttp (and all of the other drivers) have code built in to handle 
redirects; we don't want to emulate it ourselves, just control it.
04/15/2011 08:22:04 AM rsalmon (at) mbpgroup (dot) com Comment #3
New Attachment: Peclhttp.patch
Reply to this comment
This should be fixed in Horde_Http_Client and Horde_Http_Request 
actually. Started looking at it tonight but going to need a little 
longer.
a possible patch attached for Http Request
04/14/2011 03:36:45 AM Chuck Hagenbuch Comment #2
State ⇒ Assigned
Assigned to Chuck Hagenbuch
Reply to this comment
This should be fixed in Horde_Http_Client and Horde_Http_Request 
actually. Started looking at it tonight but going to need a little 
longer.
04/13/2011 03:21:32 PM rsalmon (at) mbpgroup (dot) com Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Syndicated Feed doesn't handle redirection
Queue ⇒ Horde Base
Milestone ⇒
Patch ⇒ No
New Attachment: Feed.patch
State ⇒ Unconfirmed
Reply to this comment
Add a syndicated feed using this URL : 
http://www.20minutes.fr/rss/une.xml (or 
http://www.lemonde.fr/rss/une.xml)

I get : "Unable to read feed, got response code 302."

It looks like feed doesn't handle redirection request.

attached is a patch that does work over here.

Saved Queries