On May 28, 2009, at 4:33 AM, sebb wrote:

On 28/05/2009, Julius Davies <juliusdav...@gmail.com> wrote:
Hi,

I created CODEC-75 (url-safe Base64) and attached a 20KB patch to the
ticket.  Anyone interested in committing this?

The patch improves codec's base64 handling in two ways:


1. Ability to decode base64 streams which are missing the final
padding characters.

That changes the behaviour; there may be some applications that rely
on detecting invalid Base64 data.

IMO this new behaviour needs to be optional.


+1

2. Introduces "Base64.encodeBase64URLSafe()" method.


It appears (very cursory look-see on my part) that URL-Safe is part of
the reason Hadoop went elsewhere for its Base64:

http://issues.apache.org/jira/browse/HBASE-272



--
yours,

Julius Davies
250-592-2284 (Home)
250-893-4579 (Mobile)
http://juliusdavies.ca/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to