352421 HttpURI paths beginning with .

This commit is contained in:
Greg Wilkins 2011-07-22 12:15:48 +10:00
parent ee02bb4b17
commit 6a1b20abe7
1 changed files with 3 additions and 1 deletions

View File

@ -154,7 +154,9 @@ public class HttpConnectionTest
{
((StdErrLog)Log.getLog()).setHideStacks(true);
String response=connector.getResponses("GET & HTTP/1.1\n"+
String response;
response=connector.getResponses("GET % HTTP/1.1\n"+
"Host: localhost\n"+
"\015\012");
checkContains(response,0,"HTTP/1.1 400");