- String soneId = request.getHttpRequest().getParam("sone");
- Sone sone = webInterface.core().getSone(soneId);
- if (!(sone instanceof SoneShell)) {
+ if (request.getMethod() == Method.POST) {
+ String soneId = request.getHttpRequest().getPartAsStringFailsafe("sone", 44);
+ String returnPage = request.getHttpRequest().getPartAsStringFailsafe("returnPage", 256);