Bug 923203

Summary: suggest upgrade to 0.52
Product: [Fedora] Fedora Reporter: Paul Sand <sand.paul>
Component: perl-XML-FeedAssignee: Iain Arnell <iarnell>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: iarnell, perl-devel
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-04-01 22:26:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
A short script that tests parsing none

Description Paul Sand 2013-03-19 12:22:52 UTC
Created attachment 712616 [details]
A short script that tests parsing

Description of problem:

XML::Feed 0.50 fails to parse some valid feeds

Version-Release number of selected component (if applicable):

0.50

How reproducible:

Attempt to parse a valid feed

Steps to Reproduce:
1. Attempt to parse a valid feed
2. Watch the parsing fail.
3.
  
Actual results:
"Error parsing feed: Cannot detect feed type"

Expected results:
(Successful parse)

Additional info:
An example feed that can't be parsed using 0.50: http://drboli.wordpress.com/feed/

I'm attaching a short script that tests parsing. Removing the Fedora 18 0.50 RPM and installing 0.52 from CPAN causes things to work better.

Comment 1 Iain Arnell 2013-03-20 11:21:38 UTC
It looks like that site is doing user-agent sniffing and blocks access to "libwww-perl". Running "curl -ILA libwww-perl/6.03 http://drboli.wordpress.com/feed/" gives a 403 Forbidden error, but "curl -IL http://drboli.wordpress.com/feed/" is okay. The only change in XML::Feed 0.52 is that user-agent is now set to "XML::Feed/0.52" which gets past the site's filter. I've submitted builds for f17 and f18 that should be coming to testing repository soon.

Comment 2 Fedora Update System 2013-03-20 11:30:46 UTC
perl-XML-Feed-0.52-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/perl-XML-Feed-0.52-1.fc18

Comment 3 Fedora Update System 2013-03-20 11:30:57 UTC
perl-XML-Feed-0.52-1.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/perl-XML-Feed-0.52-1.fc17

Comment 4 Fedora Update System 2013-03-22 00:03:37 UTC
Package perl-XML-Feed-0.52-1.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing perl-XML-Feed-0.52-1.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-4146/perl-XML-Feed-0.52-1.fc17
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2013-04-01 22:26:18 UTC
perl-XML-Feed-0.52-1.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2013-04-01 22:27:22 UTC
perl-XML-Feed-0.52-1.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.