google-code-export / feedparser

Automatically exported from code.google.com/p/feedparser
Other
1 stars 0 forks source link

ValueError: Invalid IPv6 URL for http://podcast.breakbeat.co.uk/ #398

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. feedparser.parse("http://podcast.breakbeat.co.uk/")

What is the expected output? What do you see instead?
I get a "ValueError: Invalid IPv6 URL" exception.

What version of the product are you using? On what operating system?
feedparser==5.1.3
Python 2.7.4 (default, Apr  6 2013, 19:54:46) [MSC v.1500 32 bit (Intel)] on 
win32

Please provide any additional information below.
It seems for the second-to-last entry in the feed 
(http://podcasts.breakbeat.co.uk/podcast/tkpodcast.mp3) the url gets corrupted.
It's already wrong at
File "MYPROGRAMFOLDER\Python27\lib\site-packages\feedparser.py", line 897, in 
pop
output = self.resolveURI(output)
as it contains a bracket:
http://podcasts.breakbeat.c]o.uk/podcast/tkpodcast.mp3

Original issue reported on code.google.com by phoenixy...@gmail.com on 24 Apr 2013 at 2:57

GoogleCodeExporter commented 9 years ago
This was yet another code path that was missed when fixing issue 321. Fixed. 
Thanks for reporting this!

Original comment by kurtmckee on 27 Apr 2013 at 6:26