cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anim...@apache.org
Subject [01/12] git commit: updated refs/heads/4.2 to 41d2fb3
Date Tue, 27 Aug 2013 20:13:54 GMT
Updated Branches:
  refs/heads/4.2 587860797 -> 41d2fb3d1


CloudStack CLOUDSTACK-4484
Vmware - Not able to fetch userdata from guest Vms using http://<router-address>/latest/user-data
(cherry picked from commit 697cc2e397a8d6ff0d293587877dfb3033d87c26)

Signed-off-by: animesh <animesh@apache.org>


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

Branch: refs/heads/4.2
Commit: 5524e61f4bf5034fe063680e7bfe2444796a1ec6
Parents: 5878607
Author: frank <frank.zhang@citrix.com>
Authored: Mon Aug 26 17:53:06 2013 -0700
Committer: animesh <animesh@apache.org>
Committed: Tue Aug 27 12:52:54 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/5524e61f/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