public inbox for pmg-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Thomas Lamprecht <t.lamprecht@proxmox.com>
To: Dominik Csapak <d.csapak@proxmox.com>, pmg-devel@lists.proxmox.com
Subject: [pmg-devel] applied: [PATCH pmg-api] api/postfix: add 'decode-headers' to postfix queue read
Date: Thu, 3 Feb 2022 12:33:22 +0100	[thread overview]
Message-ID: <b45e5f2c-434f-8906-82b1-c70ccc40ddf2@proxmox.com> (raw)
In-Reply-To: <20220203082925.1780071-1-d.csapak@proxmox.com>

On 03.02.22 09:29, Dominik Csapak wrote:
> often, the users want to show the *decoded* header, iow. they want
> to see the readable subject,from,to, etc. not the quoted-printable
> versions.
> 
> so add a new parameter that decodes the header lines as we read them
> using MIME::WordDecoder's 'mime_to_perl_string'.
> 
> for backwards compatibility, this is not the default in the api
> 
> Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
> ---
>  src/PMG/API2/Postfix.pm | 8 +++++++-
>  src/PMG/Postfix.pm      | 6 +++++-
>  2 files changed, 12 insertions(+), 2 deletions(-)
> 
>

applied, made a small followup for line length and doing an useless but
cheap optimization, thanks!




      parent reply	other threads:[~2022-02-03 11:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-03  8:29 [pmg-devel] " Dominik Csapak
2022-02-03  8:29 ` [pmg-devel] [PATCH pmg-gui] postfix queues: show decoded headers by default Dominik Csapak
2022-02-03 11:32   ` [pmg-devel] applied: " Thomas Lamprecht
2022-02-03 11:33 ` Thomas Lamprecht [this message]

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=b45e5f2c-434f-8906-82b1-c70ccc40ddf2@proxmox.com \
    --to=t.lamprecht@proxmox.com \
    --cc=d.csapak@proxmox.com \
    --cc=pmg-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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal