[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mutt-dev
Subject:    Re: [PATCH 1/2] base64val: Add support to decode base64 safe URL.
From:       Werner Koch <wk () gnupg ! org>
Date:       2023-03-17 12:42:15
Message-ID: 87lejvwnvc.fsf () wheatstone ! g10code ! de
[Download RAW message or body]


On Sat,  4 Mar 2023 18:33, Sebastian Andrzej Siewior said:
> In the base64 safe URL dictionary the characters '+' and '/' are
> replaced by '-' and '_'.

FWIW, using '-' for general base64 encoding would be a bad idea because
it would allow to create those PGP or PEM armor lines ("-----BEGIN foo")
and thus break message parsing.


Salam-Shalom,

   Werner

-- 
The pioneers of a warless world are the youth that
refuse military service.             - A. Einstein

["openpgp-digital-signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic