[pmg-devel] applied: [PATCH pmg-api] quarantine: ticket: use raw pmail for ticket assembly

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Sep 26 09:06:23 CEST 2023


Am 13/09/2023 um 18:20 schrieb Stoiko Ivanov:
> currently the quarantine report does not work if the recipient has
> some encodable characters in their local part - e.g.
> 'some&other at domain.example'
> 
> when clicking on the links on the report the user gets logged in
> however their quarantine list is empty (the call to
> /api2/json/quarantine/spamusers returns 403)
> 
> With this patch the ticket (thus also the username remains
> 'some&other at domain.example' instead of 'some&other at domain.example'
> and the listing works as expected
> 
> Signed-off-by: Stoiko Ivanov <s.ivanov at proxmox.com>
> ---
> Tested this quickly here in my test-setup - but would really need some
> feedback on potential pitfalls, as this is authentication-related code...
> 
>  src/PMG/CLI/pmgqm.pm | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
>

applied, took the liberty to reword/add a bit to the commit message, thanks!




More information about the pmg-devel mailing list