commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: [codec] any takers for CODEC-75 patch?
Date Thu, 28 May 2009 13:50:36 GMT

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

> On 28/05/2009, Julius Davies <juliusdavies@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-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>


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


Mime
View raw message