Reverting ContextHandler.Context change

This commit is contained in:
Joakim Erdfelt 2022-10-20 16:33:44 -05:00
parent 0b542dc29b
commit 4c0c2a6988
No known key found for this signature in database
GPG Key ID: 2D0E1FB8FE4B68B4
1 changed files with 1 additions and 5 deletions

View File

@ -981,11 +981,7 @@ public class ContextHandler extends Handler.Wrapper implements Attributes, Grace
@Override
public String getContextPath()
{
Context context = getContext();
Request.Wrapper wrapper = this;
String contextPath = context.getContextPath();
Context outer = wrapper.getWrapped().getContext();
return (outer instanceof Server.ServerContext) ? contextPath : null;
return _contextPath;
}
@Override