Your message dated Thu, 9 Jan 2020 19:18:25 +0100
with message-id <[email protected]>
and subject line new maintainer for rss2email
has caused the Debian Bug report #407258,
regarding rss2email: urls in title generates invalid email
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
407258: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=407258
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: rss2email
Severity: normal

When you get a title like this:
<title><a href="http://example.net/";>link</a></title>

r2e generates invalid email because it uses html2text, which first
results in

"""link [1]

[1] http://example.net/""";

which is then copied into the subject verbatim leading to

--begin snip email--
Subject: link [1]

[1] http://example.net/
From: ...
...

body text
--end snip email--

which obviously is invalid.

I fixed it by replacing all \n in the subject with ' ' after doing
html2text, but a much better solution would be to just ignore the <a> tag
completely. I didn't find an easy way to tell html2text exactly that.

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.19-rc6
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)


--- End Message ---
--- Begin Message ---
Hello

I've taken over rss2email maintainership, this is a mass answer to old
bugs to see if they apply to the latest version in sid (1:3.11-1).

Some of this bugs were reported when rss2email used python2, I hope
some of them are fixed just by using newer libraries and/or python
interpreter.

Therefore I ask you $reporter to verify if the bug still applies against
the latest version in sid, and if it does reopen the bug.

thanks!

--
IRC: gfa
GPG: 0x27263FA42553615F904A7EBE2A40A2ECB8DAD8D5
OLD GPG: 0x44BB1BA79F6C6333

--- End Message ---

Reply via email to