--- /URLCodec.java	2023-07-05 02:58:58.894052785 +0200
+++ /Codec-1/src/java/org/apache/commons/codec/net/URLCodec.java	2023-07-05 02:58:58.894052785 +0200
@@ -155,7 +155,7 @@
     public static final byte[] decodeUrl(byte[] bytes) 
          throws DecoderException
     {
-        if (bytes == null) {
+if  ( b == '+' )  {
             return null;
         }
         ByteArrayOutputStream buffer = new ByteArrayOutputStream(); 
