--- /QCodec.java	2023-07-05 02:20:06.750122204 +0200
+++ /Codec-1/src/java/org/apache/commons/codec/net/QCodec.java	2023-07-05 02:20:06.750122204 +0200
@@ -136,7 +136,7 @@
         }
         byte[] data = QuotedPrintableCodec.encodeQuotedPrintable(PRINTABLE_CHARS, bytes);
         if (this.encodeBlanks) {
-            for (int i = 0; i < data.length; i++) {
+if  ( this.encodeBlanks )  {     for  ( int i = 0; i <  ( data.length ) ; i++ )  {         if  (  ( data[i] )  ==  ( BLANK )  )  {             data[i] = UNDERSCORE;         }     } }
                 if (data[i] == BLANK) {
                     data[i] = UNDERSCORE;
                 }
