Gnus development mailing list
 help / color / mirror / Atom feed
From: Daiki Ueno <ueno@gnu.org>
To: "Łukasz Stelmach" <stlman@poczta.fm>
Cc: ding@gnus.org
Subject: Re: [BUG] mml2015-epg-find-usable-key finds unusable key
Date: Sun, 17 Feb 2013 18:02:49 +0900	[thread overview]
Message-ID: <8738wvb9dy.fsf-ueno@gnu.org> (raw)
In-Reply-To: <87vc9rtm9u.fsf%stlman@poczta.fm> (=?utf-8?Q?=22=C5=81ukasz?= Stelmach"'s message of "Sun, 17 Feb 2013 08:47:09 +0100")

Łukasz Stelmach <stlman@poczta.fm> writes:

> What I mean, here is a rather hypothetical case when someone writes
> some code forgetting about your assumption of normalisation. We can
> say: "let the guy shoot his own foot", but I think we shouldn't. We
> should rather follow the logic: assume key-id is a correct uid. In
> such case we should check the input for *being* the key-id rather than
> not being an e-mail address.

In that case, I'd rather modify the caller of mml2015-epg-check-user-id,
not to call the function if the recipient is key-id.  That makes it
clearer that mml2015-epg-check-user-id only deals with user-id not
key-id.

Regards,
-- 
Daiki Ueno



  reply	other threads:[~2013-02-17  9:02 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-13 19:55 Łukasz Stelmach
2013-02-14 19:28 ` Łukasz Stelmach
2013-02-15  4:05 ` Daiki Ueno
2013-02-15  7:59   ` Łukasz Stelmach
2013-02-15  9:14     ` Daiki Ueno
2013-02-16 18:35   ` Łukasz Stelmach
2013-02-16 21:11     ` Łukasz Stelmach
2013-02-17  3:12       ` Daiki Ueno
2013-02-17  7:47         ` Łukasz Stelmach
2013-02-17  9:02           ` Daiki Ueno [this message]
2013-02-17 10:20             ` Daiki Ueno
2013-02-17 21:29               ` Łukasz Stelmach

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=8738wvb9dy.fsf-ueno@gnu.org \
    --to=ueno@gnu.org \
    --cc=ding@gnus.org \
    --cc=stlman@poczta.fm \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).