From: Lars Ingebrigtsen <larsi@gnus.org>
To: dick <dick.r.chiang@gmail.com>
Cc: 49001@debbugs.gnu.org
Subject: bug#49001: 28.0.50; MML grinds on empty url tags
Date: Sun, 13 Jun 2021 14:42:10 +0200 [thread overview]
Message-ID: <87tum22axp.fsf@gnus.org> (raw)
In-Reply-To: <87wnqyrluo.fsf@dick> (dick's message of "Sun, 13 Jun 2021 08:27:11 -0400")
dick <dick.r.chiang@gmail.com> writes:
> # Some new spyware images at github bog MML parsing
> src/emacs -Q --batch -l ./mml.el
[...]
> Proposed patch:
>
>>From adf34a8954b0aa86b1769b2b1fd0e117f9c38afb Mon Sep 17 00:00:00 2001
> From: dickmao <none>
> Date: Sun, 13 Jun 2021 08:20:29 -0400
> Subject: [PATCH] Some kind of spyware is bogging my gnus
>
> * lisp/gnus/mml.el (mml-expand-html-into-multipart-related):
> Avoid parsing null or empty string url tags.
Your test case doesn't seem to call
`mml-expand-html-into-multipart-related' -- did you send the wrong test
or the wrong patch or a missing explanation?
> (when (and (null (url-type parsed))
> - (url-filename parsed)
> + (not (zerop (length (url-filename parsed))))
But I think this looks like the right thing.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
next prev parent reply other threads:[~2021-06-13 12:42 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-13 12:27 bug#49001: 28.0.50; MML grinds on empty url tags dick
2021-06-13 12:42 ` Lars Ingebrigtsen [this message]
2021-06-13 12:55 ` dick
2021-06-13 13:00 ` Lars Ingebrigtsen
2021-06-13 13:23 ` dick.r.chiang
2021-06-13 13:35 ` Lars Ingebrigtsen
2021-06-13 13:58 ` dick.r.chiang
2021-06-14 12:40 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87tum22axp.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=49001@debbugs.gnu.org \
--cc=dick.r.chiang@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.