Issue #4577 - request getPathInfo() could be null in InetAccessHandler
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
This commit is contained in:
parent
af18fb35ad
commit
2897377370
|
@ -245,7 +245,8 @@ public class InetAccessHandler extends HandlerWrapper
|
|||
protected boolean isAllowed(InetAddress addr, Request baseRequest, HttpServletRequest request)
|
||||
{
|
||||
String connectorName = baseRequest.getHttpChannel().getConnector().getName();
|
||||
return _set.test(new AccessTuple(connectorName, addr, baseRequest.getPathInfo()));
|
||||
String path = baseRequest.getMetaData().getURI().getDecodedPath();
|
||||
return _set.test(new AccessTuple(connectorName, addr, path));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue