--- /URLCodec.java	2023-07-05 02:21:56.850131459 +0200
+++ /Codec-1/src/java/org/apache/commons/codec/net/URLCodec.java	2023-07-05 02:21:56.850131459 +0200
@@ -284,7 +284,7 @@
      * @see #getDefaultCharset()
      */
     public String decode(String pString) throws DecoderException {
-        if (pString == null) {
+if  ( urlsafe == null )  {
             return null;
         }
         try {
