On 11/25/2010 02:50 PM, Avi Rozen wrote:
Package: hpodder
Version: 1.1.5.0+nmu2
Severity: normal
Tags: patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


hpodder fails to download mp3 file from the following url (error 404):

http://www.tor.com//images/stories/stories/Gilman/Lightbringers_and_Rainmakers/Gilman,
 Felix - Lightbringers and Rainmakers.mp3

( the podcast feed is http://www.tor.com/rss/category/TorDotStories )

The mp3 file exists, but the download fails because the url is passed unescaped 
to curl.
I've attached a patch that fixes the problem at my end.

Hi Avi,

Thank you for the report and patch. I am not certain, however, that it's the right thing to do. The feed in question contains:

<enclosure url="http://www.tor.com//images/stories/stories/Gilman/Lightbringers_and_Rainmakers/Gilman, Felix - Lightbringers and Rainmakers.mp3" length="49306025" type="audio/mpeg"/>

in other words, the URL as given is incorrect (it should be using %20 instead of space right there in the feed).

won't your patch break compliant feeds by, say, replacing %20 by %2520?

- John



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to