tProper escapes for new html cases for subject. - sfeed_sendmail - sfeed to sendmail command
(HTM) git clone git://r-36.net/sfeed_sendmail
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit ae5957b66653962830a6682c97bbfc38d02855b7
(DIR) parent 54c29cd693a6fc89cdfa3831851f113c466d6e7e
(HTM) Author: Christoph Lohmann <20h@r-36.net>
Date: Wed, 21 Oct 2020 21:09:53 +0200
Proper escapes for new html cases for subject.
Diffstat:
sfeed_sendmail | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/sfeed_sendmail b/sfeed_sendmail
t@@ -27,7 +27,7 @@ do
timestamp="$(TZ=UTC date -R -d @${timestamp})"
case "${title}" in
- *\;*|*</*|*=\"*)
+ *\;*|*\<\/*|*\=\"*)
# HTML encoding in title.
title="$(printf "%s\n" "${title}" \
| lynx -dump -stdin -nomargins \