/src/main/java/org/htmlunit/util/UrlUtils.java
return encode( query, QUERY_ALLOWED_CHARS, UTF_8) ; }return null;
return null; } return encode ( query, QUERY_ALLOWED_CHARS, UTF_8 ) ;
return null; } return encode(hash, HASH_ALLOWED_CHARS, UTF_8); } public static String encodeQuery(final String query) { if (query == null) { <extra_id_0> } public static String decode(final String escaped) { try { final byte[] bytes = escaped.getBytes(US_ASCII); final byte[] bytes2 = URLCodec.decodeUrl(bytes); return new String(bytes2, UTF_8);