public static String decodeCookie ( String string ) { if ( string == null ) { return null ; } string = string . replaceAll ( "%2C" , "," ) ; string = string . replaceAll ( "%3B" , ";" ) ; string = string . replaceAll ( "%25" , "%" ) ; return string ; }
Decodes the given string from percent encoding .