cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aprat...@apache.org
Subject git commit: updated refs/heads/4.2 to c4589e6
Date Thu, 18 Jul 2013 09:52:15 GMT
Updated Branches:
  refs/heads/4.2 d1b982e89 -> c4589e6ec


CLOUDSTACK-3344: unescape value


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

Branch: refs/heads/4.2
Commit: c4589e6ec7d2c34096644161824d80aa2d39ff93
Parents: d1b982e
Author: Ian Duffy <ian@ianduffy.ie>
Authored: Thu Jul 18 15:19:47 2013 +0530
Committer: Abhinandan Prateek <aprateek@apache.org>
Committed: Thu Jul 18 15:22:04 2013 +0530

----------------------------------------------------------------------
 .../apache/cloudstack/api/command/admin/ldap/LDAPConfigCmd.java   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/c4589e6e/api/src/org/apache/cloudstack/api/command/admin/ldap/LDAPConfigCmd.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/command/admin/ldap/LDAPConfigCmd.java b/api/src/org/apache/cloudstack/api/command/admin/ldap/LDAPConfigCmd.java
index 38f58ec..6f8b7b1 100644
--- a/api/src/org/apache/cloudstack/api/command/admin/ldap/LDAPConfigCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/admin/ldap/LDAPConfigCmd.java
@@ -29,6 +29,7 @@ import org.apache.cloudstack.api.Parameter;
 import org.apache.cloudstack.api.ServerApiException;
 import org.apache.cloudstack.api.response.LDAPConfigResponse;
 import org.apache.cloudstack.api.response.ListResponse;
+import org.apache.commons.lang.StringEscapeUtils;
 import org.apache.log4j.Logger;
 
 import com.cloud.exception.ConcurrentOperationException;
@@ -102,7 +103,7 @@ public class LDAPConfigCmd extends BaseCmd  {
     }
 
     public void setQueryFilter(String queryFilter) {
-        this.queryFilter=queryFilter;
+        this.queryFilter=StringEscapeUtils.unescapeHtml(queryFilter);
     }
     public String getSearchBase() {
         return searchBase;


Mime
View raw message