Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
1.13
-
None
-
JDK 7/JDK 8
commons-codec 1.13
Description
Codec upgrade to 1.13, code throw exception as follows:
@Test public void test(){ Base64.decodeBase64("publishMessage"); }
exception like:
java.lang.IllegalArgumentException: Last encoded character (before the paddings if any) is a valid base 64 alphabet but not a possible value
at org.apache.commons.codec.binary.Base64.validateCharacter(Base64.java:798)
at org.apache.commons.codec.binary.Base64.decode(Base64.java:472)
at org.apache.commons.codec.binary.BaseNCodec.decode(BaseNCodec.java:412)
at org.apache.commons.codec.binary.BaseNCodec.decode(BaseNCodec.java:395)
at org.apache.commons.codec.binary.Base64.decodeBase64(Base64.java:694)
Attachments
Attachments
Issue Links
- is related to
-
CODEC-280 Base32/64 to allow optional strict/lenient decoding
- Closed
- links to