You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ap...@apache.org on 2013/07/18 11:52:15 UTC
git commit: updated refs/heads/4.2 to c4589e6
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 <ia...@ianduffy.ie>
Authored: Thu Jul 18 15:19:47 2013 +0530
Committer: Abhinandan Prateek <ap...@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;