You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by mi...@apache.org on 2013/02/05 04:22:49 UTC

git commit: refs/heads/master - CLOUDSTACK-1142 Testing LDAP Auth Failed - due to % being illegal character in queryfilter

Updated Branches:
  refs/heads/master 7625de977 -> d8062e563


CLOUDSTACK-1142 Testing LDAP Auth Failed - due to % being illegal character in queryfilter


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/d8062e56
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/d8062e56
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/d8062e56

Branch: refs/heads/master
Commit: d8062e5633d884136cd532aad294c6c17ca702a5
Parents: 7625de9
Author: Mice Xia <mi...@tcloudcomputing.com>
Authored: Tue Feb 5 11:26:03 2013 +0800
Committer: Mice Xia <mi...@tcloudcomputing.com>
Committed: Tue Feb 5 11:26:42 2013 +0800

----------------------------------------------------------------------
 server/src/com/cloud/api/ApiServer.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/d8062e56/server/src/com/cloud/api/ApiServer.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/api/ApiServer.java b/server/src/com/cloud/api/ApiServer.java
index aa28125..0df6cd4 100755
--- a/server/src/com/cloud/api/ApiServer.java
+++ b/server/src/com/cloud/api/ApiServer.java
@@ -292,7 +292,7 @@ public class ApiServer implements HttpRequestHandler {
                 // always trust commands from API port, user context will always be UID_SYSTEM/ACCOUNT_ID_SYSTEM
                 UserContext.registerContext(_systemUser.getId(), _systemAccount, null, true);
                 sb.insert(0, "(userId=" + User.UID_SYSTEM + " accountId=" + Account.ACCOUNT_ID_SYSTEM + " sessionId=" + null + ") ");
-                String responseText = handleRequest(parameterMap, true, responseType, sb);
+                String responseText = handleRequest(parameterMap, false, responseType, sb);
                 sb.append(" 200 " + ((responseText == null) ? 0 : responseText.length()));
 
                 writeResponse(response, responseText, HttpStatus.SC_OK, responseType, null);