Re: [PATCH] base64: Allow URL-safe base64 strings to be decoded

2012-08-02 Thread Simon Josefsson
Bruno Haible writes: > Hi, > > Wido den Hollander wrote: >> With URL-safe base64 the + and / are replaced by - and _ >> >> This way we can accept base64 strings which are URL-safe. > > There are many more variants of base64, see > http://en.wikipedia.org/wiki/Base64 > > The current code is mea

Re: [PATCH] base64: Allow URL-safe base64 strings to be decoded

2012-07-05 Thread Bruno Haible
Hi, Wido den Hollander wrote: > With URL-safe base64 the + and / are replaced by - and _ > > This way we can accept base64 strings which are URL-safe. There are many more variants of base64, see http://en.wikipedia.org/wiki/Base64 The current code is meant to implement RFC 4648. Since for RFC