This commit is contained in:
Keith Donald
2008-09-12 17:04:06 +00:00
parent 4d6620c665
commit ed32b4f1ba

View File

@@ -65,6 +65,10 @@ public class DefaultFlowUrlHandler implements FlowUrlHandler {
}
public String getFlowId(HttpServletRequest request) {
String pathInfo = request.getPathInfo();
if (pathInfo == null) {
throw new IllegalStateException("The HttpServletRequest pathInfo is null; unable to extract flowId");
}
return request.getPathInfo().substring(1);
}