unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: luangruo@yahoo.com, emacs-devel@gnu.org
Subject: Re: master ce63f91025: Add textsec functions for verifying email addresses
Date: Thu, 20 Jan 2022 11:40:49 +0200	[thread overview]
Message-ID: <83czkmrbha.fsf@gnu.org> (raw)
In-Reply-To: <871r127pzl.fsf@gnus.org> (message from Lars Ingebrigtsen on Thu,  20 Jan 2022 09:47:42 +0100)

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Cc: Po Lu <luangruo@yahoo.com>,  emacs-devel@gnu.org
> Date: Thu, 20 Jan 2022 09:47:42 +0100
> 
> It seems save to allow names that pass
> bidi-find-overridden-directionality ...  but is there an off-by-one
> error there?
> 
> It says that this is OK:
> 
>            "Lars Ingebrigtsen\N{LEFT-TO-RIGHT OVERRIDE}"
> 
> But this isn't:
> 
>            "Lars Ingebrigtsen\N{LEFT-TO-RIGHT OVERRIDE}f"
> 
> And both are equally suspicious.

Why do you think the former one is suspicious?  The override there
doesn't affect any character, because there's nothing after it.

bidi-find-overridden-directionality works by looking at
characters which have their directionality affected by the bidi
controls.  It doesn't look at the controls themselves, because those
controls by themselves aren't doing any harm.



  reply	other threads:[~2022-01-20  9:40 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <164250841214.433.17670666873471731764@vcs2.savannah.gnu.org>
     [not found] ` <20220118122012.7A3A4C0DA1B@vcs2.savannah.gnu.org>
2022-01-18 13:30   ` master ce63f91025: Add textsec functions for verifying email addresses Po Lu
2022-01-18 18:42     ` Eli Zaretskii
2022-01-20  8:47       ` Lars Ingebrigtsen
2022-01-20  9:40         ` Eli Zaretskii [this message]
2022-01-20  9:49           ` Lars Ingebrigtsen
2022-01-20 10:20             ` Eli Zaretskii
2022-01-20 11:08               ` Lars Ingebrigtsen
2022-01-20 11:29                 ` Eli Zaretskii
2022-01-20 12:46                   ` Lars Ingebrigtsen
2022-01-22 10:01                     ` Eli Zaretskii
2022-01-22 11:25                       ` Lars Ingebrigtsen
2022-01-20  8:49       ` Lars Ingebrigtsen
2022-01-20 10:04         ` Eli Zaretskii
2022-01-20 10:07           ` Lars Ingebrigtsen
2022-01-18 13:38   ` Robert Pluim
2022-01-19 14:37     ` Lars Ingebrigtsen
2022-01-19 14:49       ` Robert Pluim
2022-01-19 14:54         ` 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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83czkmrbha.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=larsi@gnus.org \
    --cc=luangruo@yahoo.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).