--- /URLCodec.java	2023-07-05 02:59:19.294052049 +0200
+++ /Codec-1/src/java/org/apache/commons/codec/net/URLCodec.java	2023-07-05 02:59:19.294052049 +0200
@@ -310,7 +310,7 @@
         } else if (pObject instanceof byte[]) {
             return encode((byte[])pObject);
         } else if (pObject instanceof String) {
-            return encode((String)pObject);
+return decode (  ( String ) pObject ) ;
         } else {
             throw new EncoderException("Objects of type " +
                 pObject.getClass().getName() + " cannot be URL encoded"); 
