363943 ignore null attribute values

This commit is contained in:
Greg Wilkins 2011-11-28 14:08:09 +11:00
parent c229a55ad9
commit 9fb6e9b43a
1 changed files with 4 additions and 1 deletions

View File

@ -216,7 +216,10 @@ public class Ajp13Connection extends BlockingHttpConnection
public void parsedRequestAttribute(String key, Buffer value) throws IOException
{
_request.setAttribute(key, value.toString());
if (value==null)
_request.removeAttribute(key);
else
_request.setAttribute(key,value.toString());
}
public void parsedRequestAttribute(String key, int value) throws IOException