public static String urlDecode ( String s ) { if ( s == null ) { return "" ; } String decoded = s ; try { decoded = URLDecoder . decode ( s , Config . DEFAULT_ENCODING ) ; } catch ( UnsupportedEncodingException ex ) { logger . error ( null , ex ) ; } return decoded ; }
Decodes a URL - encoded string .