[DRE-maint] Bug#737767: feed2imap does not decode url

Antonio Terceiro terceiro at debian.org
Fri Feb 7 11:08:29 UTC 2014


Control: reassign -1 ruby-feedparser

Hello, thanks for your bug report.

On Wed, Feb 05, 2014 at 08:50:50PM +0100, Sébastien Dailly wrote:
> Package: feed2imap
> Version: 1.2-2
> Severity: normal
> 
> Hello,
> 
> when receiving feeds, I've got the following error :
> 
> > F, [2014-02-05T20:45:27.512843 #32623] FATAL -- : Exception caught when
> > selecting new items for planet-debianfr: bad URI(is not URI?):
> > http://www.inetdoc.net/archives/2014/01/26/virtualisation_système_et_enseignement/index.html
> > /usr/lib/ruby/1.9.1/uri/common.rb:176:in `split'
> > /usr/lib/ruby/1.9.1/uri/common.rb:211:in `parse'
> > /usr/lib/ruby/1.9.1/uri/common.rb:747:in `parse'
> > /usr/lib/ruby/vendor_ruby/feedparser/feedparser.rb:234:in `link'
> > /usr/lib/ruby/vendor_ruby/feed2imap/cache.rb:261:in `initialize'
> > /usr/lib/ruby/vendor_ruby/feed2imap/cache.rb:149:in `new'
> > /usr/lib/ruby/vendor_ruby/feed2imap/cache.rb:149:in `block in get_new_items'
> > /usr/lib/ruby/vendor_ruby/feed2imap/cache.rb:149:in `each'
> > /usr/lib/ruby/vendor_ruby/feed2imap/cache.rb:149:in `get_new_items'
> > /usr/lib/ruby/vendor_ruby/feed2imap/cache.rb:44:in `get_new_items'
> > /usr/lib/ruby/vendor_ruby/feed2imap/feed2imap.rb:238:in `block in initialize'
> > /usr/lib/ruby/vendor_ruby/feed2imap/feed2imap.rb:220:in `each'
> > /usr/lib/ruby/vendor_ruby/feed2imap/feed2imap.rb:220:in `initialize'
> > /usr/bin/feed2imap:48:in `new'
> > /usr/bin/feed2imap:48:in `<main>'
> 
> I think that non ascii character in the URL is the error cause.

This is a problem in ruby-feedparser. I have a fix and it will be
uploaded soon.

-- 
Antonio Terceiro <terceiro at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20140207/1669828c/attachment.sig>


More information about the Pkg-ruby-extras-maintainers mailing list