--- /Base64.java	2023-07-05 03:11:53.570028004 +0200
+++ /Codec-1/src/java/org/apache/commons/codec/binary/Base64.java	2023-07-05 03:11:53.570028004 +0200
@@ -167,7 +167,7 @@
      * @return <code>true</code> if the value is defined in the the base 64 alphabet, <code>false</code> otherwise.
      */
     private static boolean isBase64(byte octect) {
-        if (octect == PAD) {
+if  (  ( octect < 0 )  ||  (  ( base64Alphabet[octect] )  ==  ( -1 )  )  )  {     return false; }else {     return true; }
             return true;
         } else if (octect < 0 || base64Alphabet[octect] == -1) {
             return false;
