@Test public void decodingSafelyHandlesMalformedPercents() { assertSame("%zz", PercentDecoder.decodeAll("%zz")); assertSame("%3", PercentDecoder.decodeAll("%3")); assertSame("%3z", PercentDecoder.decodeAll("%3z")); assertSame("%", PercentDecoder.decodeAll("%")); assertSame("%%2", PercentDecoder.decodeAll("%%2")); assertSame("%2%", PercentDecoder.decodeAll("%2%")); }
public static String decodeAll(String str) { return decode(str, CodepointMatcher.ALL); }
PercentDecoder { public static String decodeAll(String str) { return decode(str, CodepointMatcher.ALL); } }
PercentDecoder { public static String decodeAll(String str) { return decode(str, CodepointMatcher.ALL); } private  PercentDecoder(); }
PercentDecoder { public static String decodeAll(String str) { return decode(str, CodepointMatcher.ALL); } private  PercentDecoder(); static String decodeAll(String str); static String decodeUnreserved(String str); }
PercentDecoder { public static String decodeAll(String str) { return decode(str, CodepointMatcher.ALL); } private  PercentDecoder(); static String decodeAll(String str); static String decodeUnreserved(String str);  }