From acb3253679614162a591631eafe3168cf3319729 Mon Sep 17 00:00:00 2001 From: Peter Hormanns Date: Mon, 3 Oct 2011 09:42:08 +0000 Subject: [PATCH] Pruefung auf ungueltige Where-Parameter --- .../hsadmin/cliClientConnector/CLIClientConnectorServlet.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hsarback/src/de/hsadmin/cliClientConnector/CLIClientConnectorServlet.java b/hsarback/src/de/hsadmin/cliClientConnector/CLIClientConnectorServlet.java index 0d7d932..916a078 100644 --- a/hsarback/src/de/hsadmin/cliClientConnector/CLIClientConnectorServlet.java +++ b/hsarback/src/de/hsadmin/cliClientConnector/CLIClientConnectorServlet.java @@ -219,7 +219,7 @@ public class CLIClientConnectorServlet extends HttpServlet { + "(obj." + AbstractEntity.escapeString(kname) + " = '" + AbstractEntity.escapeString(where.get(k)) + "')"; first = false; } else { - throw new ServletException("illegal input\nunknown field: " + k); + throw new ServletException("illegal input (unknown field: " + k + ")"); } }