commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raphael Ackermann <raphael.ackerm...@gmail.com>
Subject [codec] Base64.decodeBase64(byte[]) behaves differently in commons.codec 1.3 vs 1.4
Date Wed, 19 May 2010 11:57:18 GMT
Hi

we switched this week from using commons codec 1.3 to 1.4 and
discovered a bug in our code.

we are using it like that:

String enc = "1";
Base64.decodeBase64(enc.getBytes())

in v 1.3 this would return [0]
in v 1.4 this returns []   which caused a problem in our code.

Looking at the changes from 1.3 to 1.4 I didn't see one relating to
such a behaviour change. Is this intentional? Was the old behaviour a
bug in 1.3 and changing it in v 1.4 fixed it?

Raphael

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


Mime
View raw message