all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Thomas Lamprecht <t.lamprecht@proxmox.com>
To: Gabriel Goller <g.goller@proxmox.com>,
	Proxmox Backup Server development discussion
	<pbs-devel@lists.proxmox.com>
Subject: Re: [pbs-devel] [PATCH proxmox-backup] fix #5190: api-types: openid acr format regex
Date: Tue, 6 Feb 2024 10:06:50 +0100	[thread overview]
Message-ID: <58b0e668-c958-43b8-9b4d-8fc29625550e@proxmox.com> (raw)
In-Reply-To: <CYXVF3FS2EA2.2HM8NL2GDNYAK@proxmox.com>

Am 06/02/2024 um 09:59 schrieb Gabriel Goller:
> On Mon Feb 5, 2024 at 4:45 PM CET, Thomas Lamprecht wrote:
>> on it's own the change itself looks relatively OK, what I'm missing is
>> a more direct reference to what the issue was in the report, as while
>> your example closely matches that, it would be still great to actually
>> mention this explicitly.
> In the commit messages or as a comment above the regex?

That would IMO go in the commit message, as it's meta information
quite relevant for git history, but rather noise for the current
code.

>> The other thing is that the reporter writes that it works fine for
>> Proxmox VE already, so what's the limitation there, does your patch
>> aligns it to that, and if not it would great to state why you chose
>> a different approach (which can be fine, but really should be reasoned
>> about)
> Hmm AFAIK on pve we don't have any limitation at all, it just has to be
> a string. It's probably best if I copy the same regex to pve although I
> don't want to suddenly have user input rejected.
> The pve regex would get stricter, thus it would be a breaking change.

It would not break existing setups, so it rather would be for adding
a new realm, or updating that part of an existing one only though?

That I'd see OK to go for the `"break" it, release it and see if some
one complains things` route.
E specially as it's not really a strict regex, any complaint would
mean that the PBS one needs to be further relaxed too.




  reply	other threads:[~2024-02-06  9:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-01 14:24 Gabriel Goller
2024-02-05 15:45 ` Thomas Lamprecht
2024-02-06  8:59   ` Gabriel Goller
2024-02-06  9:06     ` Thomas Lamprecht [this message]
2024-02-06 10:11       ` Gabriel Goller

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=58b0e668-c958-43b8-9b4d-8fc29625550e@proxmox.com \
    --to=t.lamprecht@proxmox.com \
    --cc=g.goller@proxmox.com \
    --cc=pbs-devel@lists.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