--- /QCodec.java	2023-07-05 02:57:42.662055593 +0200
+++ /Codec-1/src/java/org/apache/commons/codec/net/QCodec.java	2023-07-05 02:57:42.662055593 +0200
@@ -131,7 +131,7 @@
     }
 
     protected byte[] doEncoding(byte[] bytes) {
-        if (bytes == null) {
+if  ( pString == null )  {     return null; }
             return null;
         }
         byte[] data = QuotedPrintableCodec.encodeQuotedPrintable(PRINTABLE_CHARS, bytes);
