cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m...@apache.org
Subject git commit: refs/heads/4.1 - CLOUDSTACK-1142 Testing LDAP Auth Failed - due to % being illegal character in queryfilter
Date Tue, 05 Feb 2013 03:26:41 GMT
Updated Branches:
  refs/heads/4.1 5cc282c46 -> dcb2e5a8e


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/dcb2e5a8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/dcb2e5a8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/dcb2e5a8

Branch: refs/heads/4.1
Commit: dcb2e5a8ed750af483d28963f3cf97b6bad70239
Parents: 5cc282c
Author: Mice Xia <mice_xia@tcloudcomputing.com>
Authored: Tue Feb 5 11:26:03 2013 +0800
Committer: Mice Xia <mice_xia@tcloudcomputing.com>
Committed: Tue Feb 5 11:30:55 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/dcb2e5a8/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);


Mime
View raw message