Revise handling of query param with no value in URLUtils.parseParameters
Issue #440
new
public void testParseParameters_paramWithNoValue() {
String query = "response_type=code" +
"&client_id=s6BhdRkqt3" +
"&redirect_uri=" +
"&scope=read";
Map<String,List<String>> params = URLUtils.parseParameters(query);
assertEquals(Collections.singletonList("code"), params.get("response_type"));
assertEquals(Collections.singletonList("s6BhdRkqt3"), params.get("client_id"));
assertEquals(Collections.singletonList(""), params.get("redirect_uri"));
assertEquals(Collections.singletonList("read"), params.get("scope"));
}