Pruefung auf ungueltige Where-Parameter

This commit is contained in:
Peter Hormanns 2011-10-03 09:42:08 +00:00
parent b14a49b786
commit acb3253679

View File

@ -219,7 +219,7 @@ public class CLIClientConnectorServlet extends HttpServlet {
+ "(obj." + AbstractEntity.escapeString(kname) + " = '" + AbstractEntity.escapeString(where.get(k)) + "')"; + "(obj." + AbstractEntity.escapeString(kname) + " = '" + AbstractEntity.escapeString(where.get(k)) + "')";
first = false; first = false;
} else { } else {
throw new ServletException("illegal input\nunknown field: " + k); throw new ServletException("illegal input (unknown field: " + k + ")");
} }
} }