usergrid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject [1/2] incubator-usergrid git commit: USERGRID-317 API URL needs to be quoted.
Date Thu, 08 Jan 2015 14:34:58 GMT
Repository: incubator-usergrid
Updated Branches:
  refs/heads/master 4d24a98b1 -> 748f90e19


USERGRID-317 API URL needs to be quoted.


Project: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/commit/bebf6a7c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/tree/bebf6a7c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/diff/bebf6a7c

Branch: refs/heads/master
Commit: bebf6a7c0ea90130e28a4cc98e5a6b8fb6337dca
Parents: 4d24a98
Author: John D. Ament <johndament@apache.org>
Authored: Wed Jan 7 20:28:54 2015 -0500
Committer: John D. Ament <johndament@apache.org>
Committed: Wed Jan 7 20:28:54 2015 -0500

----------------------------------------------------------------------
 portal/js/global/ug-service.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/bebf6a7c/portal/js/global/ug-service.js
----------------------------------------------------------------------
diff --git a/portal/js/global/ug-service.js b/portal/js/global/ug-service.js
index 1822cf9..8f40459 100644
--- a/portal/js/global/ug-service.js
+++ b/portal/js/global/ug-service.js
@@ -54,7 +54,7 @@ AppServices.Services.factory('ug', function (configuration, $rootScope,utility,
           break;
       }
       //override with querystring
-      DATA_URL = qs.api_url || DATA_URL;
+      DATA_URL = qs['api_url'] || DATA_URL;
       DATA_URL = DATA_URL.lastIndexOf('/') === DATA_URL.length - 1 ? DATA_URL.substring(0,DATA_URL.length-1)
: DATA_URL;
       return {
         DATA_URL: DATA_URL,


Mime
View raw message