[DRE-maint] Bug#722670: feed2imap: feed-item causes crash

Christoph Feenders debian at echti.de
Mon Mar 21 07:29:12 UTC 2016


Package: feed2imap
Version: 1.2.3-1+deb8u1
Followup-For: Bug #722670

After some time without troublesome feeds, I've now another one causing
feed2imap to crash. Messages from feed2imap follow.

Christoph

---

F, [2016-03-21T08:00:51.747842 #9333] FATAL -- : Error while parsing EPL:
#<RuntimeError: Illegal character '&' in raw string "
                  /*  Cutting the mustard -
http://responsivenews.co.uk/post/18948466399/cutting-the-mustard */

                  /* Below is the original if statement, from the link above. I
have amended it to turn of JS on all IE browsers less than 10.
                    This is due to a function in the iop.jquery.toolbar line
35/36. Uses .remove which is not native js supported in IE9 or lower */
                  /*if('querySelector' in document
                    && 'localStorage' in window
                    && 'addEventListener' in window)*/

                  /* This is the updated selector, taken from:
https://justmarkup.com/log/2015/02/26/cut-the-mustard-revisited/ */
                    if('visibilityState' in document) {

                    /*! loadJS: load a JS. We are loading this command straight
away, before the body loads, so that IF a user has JS enabled, their show hide
panels will automatically be closed. */
                    /* If this isn't here, then these panels appear open while
the page is loading, then when the js loads at the bottom of the page, they are
shut. So the users sees open content, then hidden after a second or 2 when the
js is loaded. Not nice */
                    document.write("">
/usr/lib/ruby/2.1.0/rexml/text.rb:155:in `block in check'
/usr/lib/ruby/2.1.0/rexml/text.rb:153:in `scan'
/usr/lib/ruby/2.1.0/rexml/text.rb:153:in `check'
/usr/lib/ruby/2.1.0/rexml/text.rb:120:in `initialize'
/usr/lib/ruby/2.1.0/rexml/parsers/treeparser.rb:46:in `new'
/usr/lib/ruby/2.1.0/rexml/parsers/treeparser.rb:46:in `parse'
/usr/lib/ruby/2.1.0/rexml/document.rb:287:in `build'
/usr/lib/ruby/2.1.0/rexml/document.rb:44:in `initialize'
/usr/lib/ruby/vendor_ruby/feedparser/feedparser.rb:64:in `new'
/usr/lib/ruby/vendor_ruby/feedparser/feedparser.rb:64:in `parse'
/usr/lib/ruby/vendor_ruby/feedparser/feedparser.rb:53:in `initialize'
/usr/lib/ruby/vendor_ruby/feed2imap/feed2imap.rb:229:in `new'
/usr/lib/ruby/vendor_ruby/feed2imap/feed2imap.rb:229:in `block in initialize'
/usr/lib/ruby/vendor_ruby/feed2imap/feed2imap.rb:223:in `each'
/usr/lib/ruby/vendor_ruby/feed2imap/feed2imap.rb:223:in `initialize'
/usr/bin/feed2imap:48:in `new'
/usr/bin/feed2imap:48:in `<main>'
....
Illegal character '&' in raw string "
                  /*  Cutting the mustard -
http://responsivenews.co.uk/post/18948466399/cutting-the-mustard */

                  /* Below is the original if statement, from the link above. I
have amended it to turn of JS on all IE browsers less than 10.
                    This is due to a function in the iop.jquery.toolbar line
35/36. Uses .remove which is not native js supported in IE9 or lower */
                  /*if('querySelector' in document
                    && 'localStorage' in window
                    && 'addEventListener' in window)*/

                  /* This is the updated selector, taken from:
https://justmarkup.com/log/2015/02/26/cut-the-mustard-revisited/ */
                    if('visibilityState' in document) {

                    /*! loadJS: load a JS. We are loading this command straight
away, before the body loads, so that IF a user has JS enabled, their show hide
panels will automatically be closed. */
                    /* If this isn't here, then these panels appear open while
the page is loading, then when the js loads at the bottom of the page, they are
shut. So the users sees open content, then hidden after a second or 2 when the
js is loaded. Not nice */
                    document.write(""
Line: 62
Position: 1821
Last 80 unconsumed characters:
<style> (failed 89 times)




-- System Information:
Debian Release: 8.3
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates'), (500, 'proposed-updates')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/12 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages feed2imap depends on:
ii  ruby                        1:2.1.5+deb8u1
ii  ruby-feedparser             0.9.3-2
ii  ruby-rubymail               1.0.0-2
ii  ruby2.1 [ruby-interpreter]  2.1.5-2+deb8u2

feed2imap recommends no packages.

Versions of packages feed2imap suggests:
ii  evolution [imap-client]  3.12.9~git20141130.241663-1+b1
pn  imap-server              <none>
ii  mutt [imap-client]       1.5.23-3

-- no debconf information



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