git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/trunk@1450502 13f79535-47bb-0310-9956-ffa450edef68
@@ -376,6 +376,9 @@ Trunk (unreleased changes):
BUG FIXES
+ AMBARI-1503. Ajax call sometimes adds multiple question marks in the query
+ causing bad requests. (yusaku)
+
AMBARI-1463. State of HBase region server not updated when instance is shut down on a cluster not installed via Ambari. (tbeerbower)
AMBARI-1494. Browser memory consumption issues. (jaimin)
@@ -57,7 +57,7 @@ App.HttpClient = Em.Object.create({
var xhr = new XMLHttpRequest();
var curTime = new Date().getTime();
- xhr.open('GET', url + "?_=" + curTime, true);
+ xhr.open('GET', url + (url.indexOf('?') >= 0 ? '&_=' : '?_=') + curTime, true);
xhr.send(null);
this.onReady(xhr, "", ajaxOptions, mapper, errorHandler);