all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Dominik Csapak <d.csapak@proxmox.com>
To: Stoiko Ivanov <s.ivanov@proxmox.com>,
	Maximiliano Sandoval <m.sandoval@proxmox.com>
Cc: pmg-devel@lists.proxmox.com
Subject: Re: [pmg-devel] [PATCH pmg-gui] utils: escape `/` in regex for emails
Date: Mon, 26 Feb 2024 08:07:06 +0100	[thread overview]
Message-ID: <cc133fce-81fc-4a3b-865c-454f20d7da69@proxmox.com> (raw)
In-Reply-To: <20240223191153.747c81e1@rosa.proxmox.com>

AFAICS the original issue

On 2/23/24 19:11, Stoiko Ivanov wrote:

>>
>> Note that `/` marks the end of the regex [1], hence
>>
>>      Some@example@oh\no@
>>
>> is valid according to this regex if we do not escape `/`.
>>

is not because of unescaped '/' but because the regex is not anchored
and thus only parts of the input must match... (and that it does)




  reply	other threads:[~2024-02-26  7:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-30 12:44 Maximiliano Sandoval
2024-02-23 18:11 ` Stoiko Ivanov
2024-02-26  7:07   ` Dominik Csapak [this message]
2024-02-26 12:14     ` Thomas Lamprecht

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=cc133fce-81fc-4a3b-865c-454f20d7da69@proxmox.com \
    --to=d.csapak@proxmox.com \
    --cc=m.sandoval@proxmox.com \
    --cc=pmg-devel@lists.proxmox.com \
    --cc=s.ivanov@proxmox.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.
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.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal