bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#43328: [PATCH] Make ERC desktop notifications lenient to invalid XML


From: Dario Gjorgjevski
Subject: bug#43328: [PATCH] Make ERC desktop notifications lenient to invalid XML
Date: Fri, 11 Sep 2020 11:41:54 +0200

Hi,

Currently, ‘erc-notifications-notify’ signals an error if the message
contains invalid XML characters.  These characters can be either either
IRC control codes (e.g., ^B for bold text or ^C6,12 for colored text) or
just plain invalid data.

This patch changes the behavior so that they are stripped instead.  To
test, try sending yourself a message such as

   /msg <nick> ^BHi!

where <nick> is your own nick.  The current version will signal an error
whereas this patch won’t.

The proposed patch is attached to this message.

Attachment: 0001-Make-ERC-desktop-notifications-lenient-to-invalid-XM.patch
Description: Make ERC desktop notifications lenient to invalid XML

Best regards,
Dario

-- 
dario.gjorgjevski@gmail.com :: +49 1525 8666837
%   gpg --keyserver 'hkps://hkps.pool.sks-keyservers.net' \
\`>     --recv-keys '744A4F0B4F1C9371'

reply via email to

[Prev in Thread] Current Thread [Next in Thread]