cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From frankzh...@apache.org
Subject git commit: updated refs/heads/4.2-forward to 697cc2e
Date Tue, 27 Aug 2013 00:43:37 GMT
Updated Branches:
  refs/heads/4.2-forward 5b93398c1 -> 697cc2e39


CloudStack CLOUDSTACK-4484
Vmware - Not able to fetch userdata from guest Vms using http://<router-address>/latest/user-data


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

Branch: refs/heads/4.2-forward
Commit: 697cc2e397a8d6ff0d293587877dfb3033d87c26
Parents: 5b93398
Author: frank <frank.zhang@citrix.com>
Authored: Mon Aug 26 17:53:06 2013 -0700
Committer: frank <frank.zhang@citrix.com>
Committed: Mon Aug 26 17:53:06 2013 -0700

----------------------------------------------------------------------
 server/src/com/cloud/api/ApiServlet.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/697cc2e3/server/src/com/cloud/api/ApiServlet.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/api/ApiServlet.java b/server/src/com/cloud/api/ApiServlet.java
index ca6f4b4..98c460a 100755
--- a/server/src/com/cloud/api/ApiServlet.java
+++ b/server/src/com/cloud/api/ApiServlet.java
@@ -79,7 +79,7 @@ public class ApiServlet extends HttpServlet {
         String[] paramsInQueryString = req.getQueryString().split("&");
         if (paramsInQueryString != null) {
             for (String param : paramsInQueryString) {
-                String[] paramTokens = param.split("=");
+                String[] paramTokens = param.split("=", 2);
                 if (paramTokens != null && paramTokens.length == 2) {
                     String name = paramTokens[0];
                     String value = paramTokens[1];


Mime
View raw message