--- /URLCodec.java	2023-07-05 02:59:14.734052213 +0200
+++ /Codec-1/src/java/org/apache/commons/codec/net/URLCodec.java	2023-07-05 02:59:14.738052214 +0200
@@ -265,7 +265,7 @@
     public String decode(String pString, String charset) 
         throws DecoderException, UnsupportedEncodingException 
     {
-        if (pString == null) {
+if  ( pString != null )  {
             return null;
         }
         return new String(decode(pString.getBytes(CharacterEncodingNames.US_ASCII)), charset);
