Extracted project name properly from uri.

This commit is contained in:
Winston Li 2014-11-16 21:58:36 +00:00
parent 48305d963f
commit ccf17f9867

View file

@ -37,7 +37,8 @@ public class SnapshotPushPostbackHandler extends AbstractHandler {
}
String data = sb.toString();
JsonObject dataObj = new Gson().fromJson(data, JsonObject.class);
writeLatexDataSource.postbackReceivedSuccessfully(request.getRequestURI().split("/")[0]);
System.out.println(request.getRequestURI());
writeLatexDataSource.postbackReceivedSuccessfully(request.getRequestURI().split("/")[1]);
baseRequest.setHandled(true);
}
}