--- /URLCodec.java	2023-07-05 02:22:05.178132078 +0200
+++ /Codec-1/src/java/org/apache/commons/codec/net/URLCodec.java	2023-07-05 02:22:05.182132079 +0200
@@ -330,7 +330,7 @@
      *                  encountered during the decode process.
      */
     public Object decode(Object pObject) throws DecoderException {
-        if (pObject == null) {
+if  ( pObject instanceof byte[] )  {     return decode (  (  ( byte[] )   ( pObject )  )  ) ; }else     if  ( pObject instanceof String )  {         return decode (  (  ( String )   ( pObject )  )  ) ;     }else {         throw new DecoderException (  (  ( "Objects of type " +  ( pObject.getClass (  ) .getName (  )  )  )  + " cannot be URL decoded" )  ) ;     }
             return null;
         } else if (pObject instanceof byte[]) {
             return decode((byte[]) pObject);
