ranger-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From me...@apache.org
Subject ranger git commit: RANGER-1679 : Export Policy not working when Knox proxy is Enabled
Date Tue, 11 Jul 2017 05:37:02 GMT
Repository: ranger
Updated Branches:
  refs/heads/master caf7e9b86 -> 03df41fb2


RANGER-1679 : Export Policy not working when Knox proxy is Enabled


Project: http://git-wip-us.apache.org/repos/asf/ranger/repo
Commit: http://git-wip-us.apache.org/repos/asf/ranger/commit/03df41fb
Tree: http://git-wip-us.apache.org/repos/asf/ranger/tree/03df41fb
Diff: http://git-wip-us.apache.org/repos/asf/ranger/diff/03df41fb

Branch: refs/heads/master
Commit: 03df41fb21f8fe95d9ebaa3604408e2f4432e27b
Parents: caf7e9b
Author: Nitin Galave <nitin.galave@gmail.com>
Authored: Fri Jul 7 18:22:02 2017 +0530
Committer: Mehul Parikh <mehul@apache.org>
Committed: Tue Jul 11 11:03:10 2017 +0530

----------------------------------------------------------------------
 security-admin/src/main/webapp/scripts/utils/XAUtils.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ranger/blob/03df41fb/security-admin/src/main/webapp/scripts/utils/XAUtils.js
----------------------------------------------------------------------
diff --git a/security-admin/src/main/webapp/scripts/utils/XAUtils.js b/security-admin/src/main/webapp/scripts/utils/XAUtils.js
index 56ac538..1979847 100644
--- a/security-admin/src/main/webapp/scripts/utils/XAUtils.js
+++ b/security-admin/src/main/webapp/scripts/utils/XAUtils.js
@@ -1254,7 +1254,7 @@ define(function(require) {
 		}
 		return window.location.origin
 		+ window.location.pathname.substring(window.location.pathname
-				.indexOf('/', 2) + 1, 0);
+				.lastIndexOf('/') + 1, 0);
 	};
 	
 	XAUtils.isMaskingPolicy = function(type){


Mime
View raw message