Updated Branches: refs/heads/master c85d41d46 -> cd11fbd3d
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/cd11fbd3 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/cd11fbd3 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/cd11fbd3 Branch: refs/heads/master Commit: cd11fbd3d82475f2d1c4bd9057f9fe03e81fdf86 Parents: c85d41d Author: Ian Duffy <[email protected]> Authored: Thu Jul 18 15:19:47 2013 +0530 Committer: Abhinandan Prateek <[email protected]> Committed: Thu Jul 18 15:20:40 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/cd11fbd3/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;
