Hi Jerome,

Your unit test runs fine with 2.0.9 also, but I'm able to reproduce it using 
the following test:

public void testQueryString() throws IOException {
    String query = "a=b&c=";
    Form form = new FormReader(query, CharacterSet.UTF_8, '&').read();
    assertEquals("b", form.getFirstValue("a"));
    assertEquals("", form.getFirstValue("c"));
    assertNull(form.getFirstValue("d"));
}

Hope this helps,

Arjohn

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2849989

Reply via email to