--- /Base64.java	2023-07-05 03:11:54.382027981 +0200
+++ /Codec-1/src/java/org/apache/commons/codec/binary/Base64.java	2023-07-05 03:11:54.386027981 +0200
@@ -169,7 +169,7 @@
     private static boolean isBase64(byte octect) {
         if (octect == PAD) {
             return true;
-        } else if (octect < 0 || base64Alphabet[octect] == -1) {
+} else if  ( octect < 0 || base64Alphabet[octect] != -1 )  {
             return false;
         } else {
             return true;
