[MlMt] Again: Big problem with copying innocent XML snippet from a message to the clipboard
leo
mailmate at halloleo.hailmail.net
Sat Jul 18 04:17:58 EDT 2026
Hi all
(_Posted this message a week earlier, but with an unfortunate typo which
might have moved it for many people to the Spam folder…_)
From an Outlook client I have been sent an email with the following
command line snippet:
**curl "http://localhost:8080/solr/winfried/update?commit=true" -H
"Content-Type: text/xml" -d
'<delete><query>store:”top"</query></delete>’**
(Written in Outlook not as code and not in bold, but as normal body
text).
When I received this in MailMate I _saw_ the same text line as above in
the message view, but when I _copied_ the line to the clipboard and
subsequently pasted it into a text editor I got only:
**curl "http://localhost:8080/solr/winfried/update?commit=true" -H
"Content-Type: text/xml" -d_ 'store:”top”’**
So the “delete” tags somehow got ‘executed’... This was
reproducible. I think it is related to quoting text in the HTML portion
of a message: The render code in the message view seems to do the right
thing, but the copy code doesn’t…
It took me a little while to find: It is pretty unexpected (and scary)
that you get something a bit different out of the copy-paste then you
see in the message….
I’d say this is a severe little bug, or do I do something wrong?
Happy emailing
Leo
—
MailMate Version: 2.0 (6272)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freron.com/pipermail/mailmate/attachments/20260718/082932c9/attachment.htm>
More information about the mailmate
mailing list